All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----jclass.chart.TrackChange | +----jclass.chart.ChartRegion | +----jclass.chart.JCLegend
Name | Description |
---|---|
Anchor | The Anchor property determines the position of the legend relative to the ChartArea. Valid values include JCLegend.NORTH, JCLegend.SOUTH, JCLegend.EAST, JCLegend.WEST, JCLegend.NORTHWEST, JCLegend.SOUTHWEST, JCLegend.NORTHEAST and JCLegend.SOUTHEAST. The default value is JCLegend.EAST. |
Background | The Background property determines the background color used to draw inside the legend. Note that the Background property is inherited from the parent ChartRegion. |
BorderType | Determines the style of border drawn around the legend. Valid values come from BWTEnum, and include SHADOW_NONE, SHADOW_ETCHED_IN, SHADOW_ETCHED_OUT, SHADOW_IN, SHADOW_OUT, SHADOW_PLAIN, SHADOW_FRAME_IN, SHADOW_FRAME_OUT. Default value is BWTEnum.SHADOW_IN. |
BorderWidth | The BorderWidth property determines the width of the border drawn around the legend. The default value is 2. |
Font | The Font property determines what font is used to render text inside the legend. Note that the Font property is inherited from the parent ChartRegion. |
Foreground | The Foreground property determines the foreground color used to draw inside the legend. Note that the Foreground property is inherited from the parent ChartRegion. |
Height | The Height property determines the height of the legend. The default value is calculated. Note that the property is inherited from the parent ChartRegion. |
HeightIsDefault | The HeightIsDefault property determines whether the height of the legend is calculated by Chart (true) or taken from the Height property (false). The default value is true. Note that the property is inherited from the parent ChartRegion. |
IsShowing | The IsShowing property determines whether the legend is currently visible. Default value is false. |
Left | The Left property determines the location of the left of the legend. The default value is calculated. Note that the property is inherited from the parent ChartRegion. |
LeftIsDefault | The LeftIsDefault property determines whether the left position of the legend is calculated by Chart (true) or taken from the Left property (false). The default value is true. Note that the property is inherited from the parent ChartRegion. |
Name | The Name property specifies a string identifier for the JCLegend object. Note that this property is inherited from ChartRegion. |
Orientation | The Orientation property determines how legend information is laid out. Valid values include JCLegend.VERTICAL and JCLegend.HORIZONTAL. The default value is JCLegend.VERTICAL. |
Parent | The Parent property assures the connection to the chart on which the JCLegenf appears. Default value is null. Note that this property is inherited from ChartRegion. |
ParentRegion | The ParentRegion property is the JCLegend's ChartRegion parent. Default value is null. Note that this property is inherited from ChartRegion. |
Top | The Top property determines the location of the top of the legend. The default value is calculated. Note that the property is inherited from the parent ChartRegion. |
TopIsDefault | The TopIsDefault property determines whether the top position of the legend is calculated by Chart (true) or taken from the Top property (false). The default value is true. Note that the property is inherited from the parent ChartRegion. |
Width | The Width property determines the width of the legend. The default value is calculated. Note that the property is inherited from the parent ChartRegion. |
WidthIsDefault | The WidthIsDefault property determines whether the width of the legend is calculated by Chart (true) or taken from the Width property (false). The default value is true. Note that the property is inherited from the parent ChartRegion. |
public static final int NORTH
public static final int SOUTH
public static final int EAST
public static final int WEST
public static final int NORTHEAST
public static final int NORTHWEST
public static final int SOUTHEAST
public static final int SOUTHWEST
public static final int NORTHSOUTH_MASK
public static final int EASTWEST_MASK
public static final int HORIZONTAL
public static final int VERTICAL
public static final String anchor_strings[]
public static final int anchor_values[]
public static final String orientation_strings[]
public static final int orientation_values[]
public static final String border_strings[]
public static final int border_values[]
public JCLegend()
public int getAnchor()
public int getOrientation()
public void setAnchor(int a)
public void setOrientation(int orient)
public void recalc()
public boolean getChanged()
public void draw(Graphics gc)
public Dimension preferredSize()
public void saveParams(String name, JCChart comp)
public void loadParams(String name, JCChart comp)
All Packages Class Hierarchy This Package Previous Next Index