|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.TeeBase
com.steema.teechart.legend.LegendSymbol
public class LegendSymbol
Title: LegendSymbol class
Description: Legend item symbol characteristics
Copyright (c) 2005-2006 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Field Summary | |
---|---|
protected boolean |
continuous
Determines if legend symbol should display without separation from other legend item symbols. |
protected Legend |
legend
Internal field pointing to parent legend class |
protected LegendSymbolPosition |
position
Controls where to display the legend symbol related to symbol item. |
Fields inherited from class com.steema.teechart.TeeBase |
---|
chart |
Constructor Summary | |
---|---|
LegendSymbol(Legend legend)
|
Method Summary | |
---|---|
protected int |
calcWidth(int value)
|
boolean |
getContinuous()
Adjoins the different legend color rectangles when true. |
boolean |
getDefaultPen()
Uses series pen properties to draw a border around the coloured box legend symbol, when true. |
ChartPen |
getPen()
pen used to draw a border around the color box legend symbols. |
LegendSymbolPosition |
getPosition()
The position of the Legend color rectangles. |
boolean |
getSquared()
Resizes the legend symbol to square shaped, when true. |
boolean |
getVisible()
Shows or hides Legend symbols. |
int |
getWidth()
Defines the width of the color rectangles (symbols). |
LegendSymbolSize |
getWidthUnits()
Defines the Width units for the width of Symbol. |
protected java.lang.Object |
readResolve()
|
void |
setContinuous(boolean value)
Adjoins the different legend color rectangles when true. |
void |
setDefaultPen(boolean value)
Uses series pen properties to draw a border around the coloured box legend symbol, when true. |
void |
setPosition(LegendSymbolPosition value)
Sets the position of the Legend color rectangles. |
void |
setSquared(boolean value)
Resizes the legend symbol to square shaped, when true. |
void |
setVisible(boolean value)
Shows or hides Legend symbols. |
void |
setWidth(int value)
|
void |
setWidthUnits(LegendSymbolSize value)
Sets the Width units for the width of Symbol. |
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean continuous
protected LegendSymbolPosition position
protected transient Legend legend
Constructor Detail |
---|
public LegendSymbol(Legend legend)
Method Detail |
---|
protected java.lang.Object readResolve()
public int getWidth()
public void setWidth(int value)
public LegendSymbolPosition getPosition()
public void setPosition(LegendSymbolPosition value)
value
- LegendSymbolPositionpublic LegendSymbolSize getWidthUnits()
public void setWidthUnits(LegendSymbolSize value)
value
- LegendSymbolSizepublic boolean getContinuous()
public void setContinuous(boolean value)
value
- booleanpublic boolean getDefaultPen()
public void setDefaultPen(boolean value)
value
- booleanprotected int calcWidth(int value)
public ChartPen getPen()
public boolean getSquared()
public void setSquared(boolean value)
value
- booleanpublic boolean getVisible()
public void setVisible(boolean value)
value
- boolean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |