javax.rad.ui.control
Interface IChart

All Superinterfaces:
IComponent, IControl, INamedObject, IResource, ITableControl, ITranslatable
All Known Implementing Classes:
SwingChart, UIChart

public interface IChart
extends IComponent, ITableControl

Platform and technology independent Table definition. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .

See Also:
JTable

Field Summary
static int STYLE_AREA
          Style constant for showing bars.
static int STYLE_BARS
          Style constant for showing bars.
static int STYLE_LINES
          Style constant for showing bars.
 
Method Summary
 int getChartStyle()
          Gets the chart style.
 String getTitle()
          Gets the title.
 TranslationMap getTranslation()
          Gets the translation for this table.
 String getXAxisTitle()
          Gets the x axis title.
 String getXColumnName()
          Gets the x column name.
 String getYAxisTitle()
          Gets the y axis title.
 String[] getYColumnNames()
          Gets the y column names.
 void setChartStyle(int pChartStyle)
          Sets the chart style.
 void setTitle(String pTitle)
          Sets the title.
 void setTranslation(TranslationMap pTranslation)
          Sets the translation for this table.
 void setXAxisTitle(String pXAxisTitle)
          Sets the x axis title.
 void setXColumnName(String pXColumnName)
          Sets the x column name.
 void setYAxisTitle(String pYAxisTitle)
          Sets the y axis title.
 void setYColumnNames(String[] pYColumnNames)
          Sets the y column names.
 
Methods inherited from interface javax.rad.ui.IComponent
capture, eventComponentMoved, eventComponentResized, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getCursor, getEventSource, getFactory, getFont, getForeground, getLocation, getLocationRelativeTo, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getToolTipText, isBackgroundSet, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isVisible, requestFocus, setBackground, setBounds, setCursor, setEnabled, setEventSource, setFocusable, setFont, setForeground, setLocation, setLocationRelativeTo, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setSize, setToolTipText, setVisible
 
Methods inherited from interface javax.rad.ui.IResource
getResource
 
Methods inherited from interface javax.rad.model.ui.ITableControl
getDataBook, setDataBook, startEditing
 
Methods inherited from interface javax.rad.model.ui.IControl
cancelEditing, notifyRepaint, saveEditing
 

Field Detail

STYLE_LINES

static final int STYLE_LINES
Style constant for showing bars.

See Also:
Constant Field Values

STYLE_AREA

static final int STYLE_AREA
Style constant for showing bars.

See Also:
Constant Field Values

STYLE_BARS

static final int STYLE_BARS
Style constant for showing bars.

See Also:
Constant Field Values
Method Detail

getChartStyle

int getChartStyle()
Gets the chart style.

Returns:
the chart style.

setChartStyle

void setChartStyle(int pChartStyle)
Sets the chart style.

Parameters:
pChartStyle - the char style.

getTitle

String getTitle()
Gets the title.

Returns:
the title.

setTitle

void setTitle(String pTitle)
Sets the title.

Parameters:
pTitle - the title.

getXAxisTitle

String getXAxisTitle()
Gets the x axis title.

Returns:
the x axis title.

setXAxisTitle

void setXAxisTitle(String pXAxisTitle)
Sets the x axis title.

Parameters:
pXAxisTitle - the x axis title.

getYAxisTitle

String getYAxisTitle()
Gets the y axis title.

Returns:
the y axis title.

setYAxisTitle

void setYAxisTitle(String pYAxisTitle)
Sets the y axis title.

Parameters:
pYAxisTitle - the y axis title.

getXColumnName

String getXColumnName()
Gets the x column name.

Returns:
the x column name.

setXColumnName

void setXColumnName(String pXColumnName)
Sets the x column name.

Parameters:
pXColumnName - the x column name.

getYColumnNames

String[] getYColumnNames()
Gets the y column names.

Returns:
the y column names.

setYColumnNames

void setYColumnNames(String[] pYColumnNames)
Sets the y column names.

Parameters:
pYColumnNames - y column names.

getTranslation

TranslationMap getTranslation()
Gets the translation for this table.

Specified by:
getTranslation in interface ITranslatable
Returns:
the translation mapping

setTranslation

void setTranslation(TranslationMap pTranslation)
Sets the translation for this table.

Specified by:
setTranslation in interface ITranslatable
Parameters:
pTranslation - the translation mapping


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.