org.askalon.graph.chart.viewer
Interface ChartValueSupplier


public interface ChartValueSupplier

Objects of this type act as "chart-entities"

Author:
Georg Schild and Franz Endstrasser
See Also:
ChartValueListener

Method Summary
 Icon getIcon()
           
 String getTitle()
           
 boolean isSelected()
           
 void removeChartValueListener()
          Remove the previously set ChartValueListener
 void setChartValueListener(ChartValueListener listener)
          Set the ChartValueListener associated with this ChartValueSupplier
 void setSelected(boolean selected)
          Select or unselect this ChartValueSupplier
 

Method Detail

getTitle

String getTitle()
Returns:
this entity's title

setChartValueListener

void setChartValueListener(ChartValueListener listener)
Set the ChartValueListener associated with this ChartValueSupplier

Parameters:
listener -

removeChartValueListener

void removeChartValueListener()
Remove the previously set ChartValueListener


isSelected

boolean isSelected()
Returns:
true if this ChartValueSupplier is currently selected, false otherwise

setSelected

void setSelected(boolean selected)
Select or unselect this ChartValueSupplier

Parameters:
selected -

getIcon

Icon getIcon()
Returns:
the Icon associated with this ChartValueSupplier or null if there is no icon


Part of:
Askalon_Logo
ASKALON Visualisation Diagrams