|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.project.ui.summary.SummaryData
public class SummaryData
Simple data object that has title and information fields. If the modifier is set then the data can be edited. Th cell editor
is always a TextCellEditor
so the modifier should aways return a string. The validator by default always accept
the result. For custom validation cell validator can be set.
Constructor Summary | |
---|---|
SummaryData(java.lang.String title,
java.lang.Object info)
new instance. |
Method Summary | |
---|---|
SummaryData[] |
getChildren()
gets the items to display as children of this object |
java.lang.String |
getInfo()
|
ICellModifier |
getModifier()
|
SummaryData |
getParent()
|
java.lang.String |
getTitle()
|
ICellEditorValidator |
getValidator()
|
void |
setChildren(SummaryData[] children)
|
void |
setInfo(java.lang.String info)
|
void |
setModifier(ICellModifier modifier)
Sets the cell modifier used for this data item. |
void |
setParent(SummaryData parent)
|
void |
setTitle(java.lang.String title)
|
void |
setValidator(ICellEditorValidator validator)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SummaryData(java.lang.String title, java.lang.Object info)
title
- title/property name of the data iteminfo
- the information to display. toString is called on the item to display it.Method Detail |
---|
public java.lang.String getInfo()
public void setInfo(java.lang.String info)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public SummaryData[] getChildren()
public void setChildren(SummaryData[] children)
public ICellModifier getModifier()
public void setModifier(ICellModifier modifier)
SummaryData
object. The newValue passed to the modify methods will always be a String
modifier
- public ICellEditorValidator getValidator()
public void setValidator(ICellEditorValidator validator)
public SummaryData getParent()
public void setParent(SummaryData parent)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |