Package com.storedobject.chart
Interface VisibleProperty
- All Known Implementing Classes:
AbstractLabel,AngleAxis,Arc,ArcPart,Area,Axis,Axis.AbstractTicks,Axis.GridAreas,Axis.GridLines,Axis.Label,Axis.Line,Axis.MinorGridLines,Axis.MinorTicks,Axis.Pointer,Axis.PointerHandle,Axis.PointerLabel,Axis.Ticks,BezierCurve,Chart.Label,ChartImage,Circle,CirclePart,ComposedPart,CoordinateSystem,DataZoom,GaugeChart.AxisLine,GraphData.Category,Image,Label,Legend,Line,PointSymbol,PolarCoordinate,Polygon,Polyline,RadarAxis,RadarCoordinate,RadiusAxis,Rectangle,RectangularCoordinate,Ring,SankeyData.Edge,SankeyData.Node,Sector,Shape,ShapeGroup,Square,Text,TextLabel,Title,Toolbox,Toolbox.DataView,Toolbox.Download,Toolbox.Restore,Toolbox.Zoom,ToolboxButton,Tooltip,TreeDataProvider.Label,VisiblePart,VisualMap,XAxis,XYAxis,YAxis
public interface VisibleProperty
Represents a property that can be shown or hidden.
- Author:
- Syam
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidhide()Hide this.booleanChecks if this property is currently visible.voidsetVisible(boolean visible) Sets the visibility of this property.default voidshow()Show this.
-
Method Details
-
show
default void show()Show this. -
hide
default void hide()Hide this. -
setVisible
void setVisible(boolean visible) Sets the visibility of this property.- Parameters:
visible- A boolean indicating whether this property should be visible (true) or hidden (false).
-
isVisible
boolean isVisible()Checks if this property is currently visible.- Returns:
- true if the property is visible, false otherwise.
-