Interface Style
public interface Style
Definition of a container defining style specifica.
- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptiongetAlign()
Provides the alignment to be applied.boolean
getCdata()
Indicates this style to represent CDATA.getChannel
(TemplateSet templateSet) Provides the channel specifica for the given template set.Provides the font name to be used for styling.Provides the owning format template.boolean
getQuote()
Indicates whether to quote the style.boolean
Indicates the style to be a system style.getTag()
Provides the tag of this style.Provides a tooltip for this style.getView()
Provides the view mode for this style.boolean
Indicates the style to be visible.void
Defines the alignment to be applied.void
setCdata
(boolean value) Defines this style to represent CDATA.void
setFontName
(String value) Defines the font name to be used for styling.void
setQuote
(boolean value) Defines whether to quote the style.void
setToolTip
(String value) Defines the tooltip for this style.void
Defines the view mdoe for this style.void
setVisible
(boolean value) Defines the style to be visible.
-
Method Details
-
getFormatTemplate
FormatTemplate getFormatTemplate()Provides the owning format template.- Returns:
- The format template.
- Since:
- 3.0
-
getTag
String getTag()Provides the tag of this style.- Returns:
- The tag.
- Since:
- 3.0
-
getVisible
boolean getVisible()Indicates the style to be visible.- Returns:
true
, if visible.- Since:
- 3.0
-
setVisible
void setVisible(boolean value) Defines the style to be visible.- Parameters:
value
-true
, to make the style visible.- Since:
- 3.0
-
getCdata
boolean getCdata()Indicates this style to represent CDATA.- Returns:
true
, if it is CDATA.- Since:
- 3.0
-
setCdata
void setCdata(boolean value) Defines this style to represent CDATA.- Parameters:
value
-true
, if it is to represent CDATA.- Since:
- 3.0
-
getQuote
boolean getQuote()Indicates whether to quote the style.- Returns:
true
, if to be quoted.- Since:
- 3.0
-
setQuote
void setQuote(boolean value) Defines whether to quote the style.- Parameters:
value
-true
to enable quoting.- Since:
- 3.0
-
getSystem
boolean getSystem()Indicates the style to be a system style.- Returns:
true
, if it is a system style.- Since:
- 3.0
-
getView
String getView()Provides the view mode for this style.- Returns:
- The view mode.
- Since:
- 3.0
-
setView
Defines the view mdoe for this style.- Parameters:
value
- The view mode.- Since:
- 3.0
-
getFontName
String getFontName()Provides the font name to be used for styling.- Returns:
- The font's name.
- Since:
- 3.0
-
setFontName
Defines the font name to be used for styling.- Parameters:
value
- The font's name.- Since:
- 3.0
-
getToolTip
String getToolTip()Provides a tooltip for this style.- Returns:
- A tooltip.
- Since:
- 3.0
-
setToolTip
Defines the tooltip for this style.- Parameters:
value
- the tooltip.- Since:
- 3.0
-
getAlign
String getAlign()Provides the alignment to be applied.- Returns:
- The alignment.
- Since:
- 3.0
-
setAlign
Defines the alignment to be applied.- Parameters:
value
- The alignment.- Since:
- 3.0
-
getChannel
Provides the channel specifica for the given template set.- Returns:
- The channel specifica.
- Since:
- 3.0
-