|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LegendItem<Item,Source>
LegendItems can be created to represent a ChartModel or a Chartable within a ChartModel. The ability to create a LegendItem for a Chartable is important for pie charts, as each segment is a Chartable and may have a different ChartStyle applied to it.
Field Summary | |
---|---|
static int |
itemHeight
|
static int |
itemWidth
|
Method Summary | |
---|---|
Component |
getComponent()
Returns the GUI component to be displayed in the legend |
Item |
getItem()
For a ModelLegendItem this returns the ChartModel; for a PointLegendItem it returns the Chartable |
String |
getLabel()
|
Source |
getSource()
Returns the model item, or the model to which the Chartable item belongs |
Field Detail |
---|
static final int itemHeight
static final int itemWidth
Method Detail |
---|
Component getComponent()
String getLabel()
Item getItem()
Source getSource()
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |