|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cete.dynamicpdf.pageelements.charting.LegendList
public class LegendList
Represents a List of Legends.
Licensing:
This is a DynamicPDF Generator Enterprise
Edition feature. One of the following licenses is required for non-evaluation usage:
Method Summary | |
---|---|
Legend |
add()
Creates and adds that Legend to legend list. |
Legend |
add(float x,
float y,
float width,
float height)
Creates the and adds that Legend to legend list. |
LayOut |
getLabelsLayout()
Gets the labels layout of the legends. |
LayOut |
getLayout()
Gets the layout of the legends. |
Legend |
getLegend(int index)
Gets the Legend based on the given index. |
LegendPlacement |
getPlacement()
Gets the placement of the legends. |
void |
setLabelsLayout(LayOut layout)
Sets the labels layout of the legends. |
void |
setLayout(LayOut layout)
Sets the layout of the legends. |
void |
setPlacement(LegendPlacement legendPlacement)
Sets the placement of the legends. |
int |
size()
Returns the number of legends in the Legend list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public LegendPlacement getPlacement()
public void setPlacement(LegendPlacement legendPlacement)
legendPlacement
- The placement of the legends.public LayOut getLayout()
public void setLayout(LayOut layout)
layout
- The layout of the legends.public LayOut getLabelsLayout()
public void setLabelsLayout(LayOut layout)
layout
- The labels layout of the legends.public Legend add(float x, float y, float width, float height)
Legend
to legend list.
x
- x co-ordinate of the Legend.y
- y co-ordinate of the Legend.width
- The width of the Legend.height
- The height of the Legend.
Legend
public Legend add()
Legend
to legend list.
Legend
public Legend getLegend(int index)
Legend
based on the given index.
index
- index of the Legend
public int size()
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |