Package com.storedobject.chart
Class TreeDataProvider.Label
java.lang.Object
com.storedobject.chart.TextStyle
com.storedobject.chart.TreeDataProvider.Label
- All Implemented Interfaces:
ComponentProperty
,VisibleProperty
- Enclosing interface:
TreeDataProvider
Label used within the
TreeDataProvider
class.- Author:
- Syam
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Encode the JSON string with the properties of this.boolean
Checks if this property is currently visible.void
setVisible
(boolean visible) Sets the visibility of this property.Methods inherited from class com.storedobject.chart.TextStyle
getAlignment, getBackground, getBorder, getColor, getFontStyle, getPadding, getRichTextStyle, getTextBorder, setAlignment, setBackground, setBorder, setColor, setFontStyle, setPadding, setRichTextStyle, setTextBorder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.storedobject.chart.VisibleProperty
hide, show
-
Constructor Details
-
Label
public Label()
-
-
Method Details
-
setVisible
public void setVisible(boolean visible) Description copied from interface:VisibleProperty
Sets the visibility of this property.- Specified by:
setVisible
in interfaceVisibleProperty
- Parameters:
visible
- A boolean indicating whether this property should be visible (true) or hidden (false).
-
isVisible
public boolean isVisible()Description copied from interface:VisibleProperty
Checks if this property is currently visible.- Specified by:
isVisible
in interfaceVisibleProperty
- Returns:
- true if the property is visible, false otherwise.
-
encodeJSON
Description copied from interface:ComponentProperty
Encode the JSON string with the properties of this.- Specified by:
encodeJSON
in interfaceComponentProperty
- Overrides:
encodeJSON
in classTextStyle
- Parameters:
sb
- Encoded JSON string to be appended to this.
-