public interface PlaceholderDetails
Modifier and Type | Interface and Description |
---|---|
static class |
PlaceholderDetails.PlaceholderSize |
Modifier and Type | Method and Description |
---|---|
default java.time.format.DateTimeFormatter |
getDateFormat() |
Placeholder |
getPlaceholder() |
PlaceholderDetails.PlaceholderSize |
getSize() |
java.lang.String |
getText()
If the placeholder shape or object stores text, this text is returned otherwise
null . |
default java.lang.String |
getUserDate() |
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.boolean isVisible()
void setVisible(boolean isVisible)
PlaceholderDetails.PlaceholderSize getSize()
void setSize(PlaceholderDetails.PlaceholderSize size)
java.lang.String getText()
null
.void setText(java.lang.String text)
text
- the placeholder textdefault java.lang.String getUserDate()
default java.time.format.DateTimeFormatter getDateFormat()
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.