Package org.zkoss.chart.options3D
Class Panel3D
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.options3D.Panel3D
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
- Direct Known Subclasses:
BackPanel
,BottomPanel
,SidePanel
public class Panel3D extends Optionable
A panel of the 3Dframe around 3D chartsAll the options in this class support
DynamicalAttribute
.- Author:
- hanhsu
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.zkoss.chart.Optionable
NOT_NULL_VALUE, options
-
-
Constructor Summary
Constructors Constructor Description Panel3D()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getColor()
Returns the color of the panel.Number
getSize()
Returns the thickness of the panel.Object
getVisible()
Returns whether to display the frame.void
setColor(String color)
Sets the color of the panel.void
setColor(Color color)
Sets the color of the panel.void
setColor(LinearGradient color)
Sets the color of the panel.void
setColor(RadialGradient color)
Sets the color of the panel.void
setSize(Number size)
Sets the total the thickness of the panel.void
setVisible(boolean visible)
Sets whether to display the frame.void
setVisible(String visible)
Sets whether to display the frame.-
Methods inherited from class org.zkoss.chart.Optionable
addExtraAttr, addOptionDataListener, clearOptonDataListener, clone, containsKey, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getAttr, getAttr, getClientState, getExtraAttr, merge, onChange, removeExtraAttr, removeKey, removeOptionDataListener, setAttr, setAttr, setAttr, setAttr, toJSONString, toString
-
-
-
-
Method Detail
-
getColor
public String getColor()
Returns the color of the panel. Defaults to transparentDefault: "transparent".
-
setColor
public void setColor(Color color)
Sets the color of the panel.- Parameters:
color
- the color of the panel
-
setColor
public void setColor(String color)
Sets the color of the panel.- Parameters:
color
- the color of the panel
-
setColor
public void setColor(LinearGradient color)
Sets the color of the panel.- Parameters:
color
- the color of the panel
-
setColor
public void setColor(RadialGradient color)
Sets the color of the panel.- Parameters:
color
- the color of the panel
-
getSize
public Number getSize()
Returns the thickness of the panel. Defaults to 1.Default: 1.
-
setSize
public void setSize(Number size)
Sets the total the thickness of the panel.- Parameters:
size
- the total the thickness of the panel.
-
getVisible
public Object getVisible()
Returns whether to display the frame. Possible values are true, false, "auto" to display only the frames behind the data, and "default" to display faces behind the data based on the axis layout, ignoring the point of view.Default: "default"
- Since:
- 7.2.1.0
-
setVisible
public void setVisible(boolean visible)
Sets whether to display the frame.- Since:
- 7.2.1.0
-
setVisible
public void setVisible(String visible)
Sets whether to display the frame. Possible values are "auto" to display only the frames behind the data, and "default" to display faces behind the data based on the axis layout, ignoring the point of view.- Since:
- 7.2.1.0
-
-