|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rad.genui.UIResource<C>
javax.rad.genui.UIComponent<IChart>
javax.rad.genui.control.UIChart
public class UIChart
Platform and technology independent Table. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .
| Field Summary |
|---|
| Fields inherited from class javax.rad.genui.UIComponent |
|---|
lLastTranslationModified, parent |
| Fields inherited from class javax.rad.genui.UIResource |
|---|
uiResource |
| Fields inherited from interface javax.rad.ui.control.IChart |
|---|
STYLE_AREA, STYLE_BARS, STYLE_LINES |
| Constructor Summary | |
|---|---|
|
UIChart()
Creates a new instance of UIChart. |
protected |
UIChart(IChart pChart)
Creates a new instance of UIChart with the given chart. |
| Method Summary | |
|---|---|
void |
cancelEditing()
Informs the GUI control, that the last edit should be canceled(restored) the correct value is in the DataBook. |
int |
getChartStyle()
Gets the chart style. |
IDataBook |
getDataBook()
Returns the DataBook displayed by this control. |
String |
getTitle()
Gets the title. |
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 |
notifyRepaint()
The control need to check if the part is visible and then repaint the part. |
void |
saveEditing()
Informs the GUI control, that the last edit should be set into the IDataBook or IDataRow. |
void |
setChartStyle(int pChartStyle)
Sets the chart style. |
void |
setDataBook(IDataBook pDataBook)
Sets the DataBook displayed by this control. |
void |
setTitle(String pTitle)
Sets the title. |
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. |
void |
startEditing()
Informs the GUI control, that the editor should be opened. |
void |
updateTranslation()
Notification for updating the translation. |
| Methods inherited from class javax.rad.genui.UIResource |
|---|
equals, getUIResource, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.rad.ui.control.IChart |
|---|
getTranslation, setTranslation |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Constructor Detail |
|---|
public UIChart()
UIChart.
IChartprotected UIChart(IChart pChart)
UIChart with the given chart.
pChart - the chartIChart| Method Detail |
|---|
public IDataBook getDataBook()
getDataBook in interface ITableControlITableControl.setDataBook(javax.rad.model.IDataBook)public void setDataBook(IDataBook pDataBook)
setDataBook in interface ITableControlpDataBook - the DataBookITableControl.getDataBook()public int getChartStyle()
getChartStyle in interface IChartpublic void setChartStyle(int pChartStyle)
setChartStyle in interface IChartpChartStyle - the char style.public String getTitle()
getTitle in interface IChartpublic void setTitle(String pTitle)
setTitle in interface IChartpTitle - the title.public String getXAxisTitle()
getXAxisTitle in interface IChartpublic void setXAxisTitle(String pXAxisTitle)
setXAxisTitle in interface IChartpXAxisTitle - the x axis title.public String getYAxisTitle()
getYAxisTitle in interface IChartpublic void setYAxisTitle(String pYAxisTitle)
setYAxisTitle in interface IChartpYAxisTitle - the y axis title.public String getXColumnName()
getXColumnName in interface IChartpublic void setXColumnName(String pXColumnName)
setXColumnName in interface IChartpXColumnName - the x column name.public String[] getYColumnNames()
getYColumnNames in interface IChartpublic void setYColumnNames(String[] pYColumnNames)
setYColumnNames in interface IChartpYColumnNames - y column names.public void notifyRepaint()
notifyRepaint in interface IControlpublic void startEditing()
startEditing in interface ITableControl
public void saveEditing()
throws ModelException
IDataBook or IDataRow.
saveEditing in interface IControlModelException - if the value can not be stored.public void cancelEditing()
DataBook.
cancelEditing in interface IControlpublic void updateTranslation()
UIComponent will be added to a displayable containment hierarchy,
when its containment hierarchy is made displayable or the translation table will
be changed.
updateTranslation in class UIComponent<IChart>UIComponent.setTranslation(TranslationMap),
UIComponent.addNotify()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||