public interface PlaceholderDetails
Modifier and Type | Interface and Description |
---|---|
static class |
PlaceholderDetails.PlaceholderSize |
Modifier and Type | Method and Description |
---|---|
Placeholder |
getPlaceholder() |
PlaceholderDetails.PlaceholderSize |
getSize() |
java.lang.String |
getText()
If the placeholder shape or object stores text, this text is returned otherwise
null .
(如果占位符形状或对象存储文本,则返回此文本,否则返回 null。)
|
boolean |
isVisible() |
void |
setPlaceholder(Placeholder placeholder)
Specifies that the corresponding shape should be represented by the generating application as a placeholder.
(指定相应的形状应由生成应用程序表示为占位符。)
|
void |
setSize(PlaceholderDetails.PlaceholderSize size) |
void |
setText(java.lang.String text)
If the placeholder shape or object stores text, the given text is stored otherwise this is a no-op.
(如果占位符形状或对象存储文本,则存储给定的文本,否则这是无操作的。)
|
void |
setVisible(boolean isVisible) |
Placeholder getPlaceholder()
void setPlaceholder(Placeholder placeholder)
placeholder
- The shape to use as placeholder or null if no placeholder should be set.
(placeholder - 用作占位符的形状,如果不设置占位符,则为 null。)
boolean isVisible()
void setVisible(boolean isVisible)
PlaceholderDetails.PlaceholderSize getSize()
void setSize(PlaceholderDetails.PlaceholderSize size)
java.lang.String getText()
null
.
(如果占位符形状或对象存储文本,则返回此文本,否则返回 null。)
void setText(java.lang.String text)
text
- the placeholder text
(text - 占位符文本)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.