|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.web.impl.WebResource
com.sibvisions.rad.ui.web.impl.WebComponent
com.sibvisions.rad.ui.web.impl.control.WebTree
public class WebTree
Web server implementation of ITree.
| Field Summary |
|---|
| Fields inherited from class com.sibvisions.rad.ui.web.impl.WebComponent |
|---|
componentId |
| Fields inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
WebTree()
Creates a new instance of WebTree. |
|
| Method Summary | |
|---|---|
void |
cancelEditing()
Informs the GUI control, that the last edit should be canceled(restored) the correct value is in the DataBook. |
ICellFormatter |
getCellFormatter()
Gets the cell formatter. |
IDataBook[] |
getDataBooks()
Returns the DataBooks displayed by this control. |
INodeFormatter |
getNodeFormatter()
Gets the node formatter. |
TranslationMap |
getTranslation()
Gets the possible translation mapping for this UIComponent. |
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 |
setCellFormatter(ICellFormatter pCellFormatter)
Sets the cell formatter. |
void |
setCellFormatter(Object pCellFormatter,
String pMethodName)
Sets the cell formatter. |
void |
setDataBooks(IDataBook... pDataBooks)
Sets the DataBooks displayed by this control. |
void |
setNodeFormatter(INodeFormatter pCellFormatter)
Sets the node formatter. |
void |
setNodeFormatter(Object pNodeFormatter,
String pMethodName)
Sets the node formatter. |
void |
setTranslation(TranslationMap pTranslation)
Sets the possible translations for this UIComponent. |
| Methods inherited from class com.sibvisions.rad.ui.web.impl.WebResource |
|---|
getNullableAsString, getResource, setAsString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Constructor Detail |
|---|
public WebTree()
WebTree.
ITree| Method Detail |
|---|
public IDataBook[] getDataBooks()
getDataBooks in interface ITreeITree.setDataBooks(javax.rad.model.IDataBook...)public void setDataBooks(IDataBook... pDataBooks)
setDataBooks in interface ITreepDataBooks - the DataBooksITree.getDataBooks()public void notifyRepaint()
notifyRepaint in interface IControl
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 ICellFormatter getCellFormatter()
getCellFormatter in interface ITreepublic void setCellFormatter(ICellFormatter pCellFormatter)
setCellFormatter in interface ITreepCellFormatter - the cell formatter.
public void setCellFormatter(Object pCellFormatter,
String pMethodName)
setCellFormatter in interface ITreepCellFormatter - the cell formatter.pMethodName - the method name.public INodeFormatter getNodeFormatter()
getNodeFormatter in interface ITreepublic void setNodeFormatter(INodeFormatter pCellFormatter)
setNodeFormatter in interface ITreepCellFormatter - the node formatter.
public void setNodeFormatter(Object pNodeFormatter,
String pMethodName)
setNodeFormatter in interface ITreepNodeFormatter - the node formatter.pMethodName - the method name.public TranslationMap getTranslation()
UIComponent.
getTranslation in interface IControlpublic void setTranslation(TranslationMap pTranslation)
UIComponent.
setTranslation in interface IControlpTranslation - the translation mapping
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||