|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.awt.impl.AwtResource<C>
com.sibvisions.rad.ui.awt.impl.AwtComponent<C>
com.sibvisions.rad.ui.awt.impl.AwtContainer<C>
com.sibvisions.rad.ui.swing.impl.SwingComponent<JVxChart>
com.sibvisions.rad.ui.swing.impl.control.SwingChart
public class SwingChart
The SwingChart is the IChart
implementation for swing.
| Field Summary |
|---|
| Fields inherited from class com.sibvisions.rad.ui.awt.impl.AwtComponent |
|---|
eventComponentMoved, eventComponentResized, eventSource, factory, parent |
| Fields inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource |
|---|
resource |
| Fields inherited from interface javax.rad.ui.control.IChart |
|---|
STYLE_AREA, STYLE_BARS, STYLE_LINES |
| Fields inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
SwingChart()
Creates a new instance of SwingChart. |
|
| 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. |
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 |
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 |
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. |
void |
startEditing()
Informs the GUI control, that the editor should be opened. |
| Methods inherited from class com.sibvisions.rad.ui.swing.impl.SwingComponent |
|---|
capture, getToolTipText, setBackground, setToolTipText |
| Methods inherited from class com.sibvisions.rad.ui.awt.impl.AwtContainer |
|---|
add, add, add, add, addIntern, checkAdd, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, removeIntern, setLayout, setLayoutIntern |
| Methods inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource |
|---|
equals, getResource, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Constructor Detail |
|---|
public SwingChart()
SwingChart.
| 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 ITableControlpublic void cancelEditing()
DataBook.
cancelEditing in interface IControl
public void saveEditing()
throws ModelException
IDataBook or IDataRow.
saveEditing in interface IControlModelException - if the value can not be stored.public void setTranslation(TranslationMap pTranslation)
setTranslation in interface ITranslatablesetTranslation in interface IChartpTranslation - the translation mappingpublic TranslationMap getTranslation()
getTranslation in interface ITranslatablegetTranslation in interface IChart
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||