|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.xwing.swing.XTableColumn
Constructor Summary | |
XTableColumn(SourceSink labelSS,
SourceSinkFactory valueFactory,
boolean isEditable,
ListModel choices,
boolean isConstrainedToChoices)
|
|
XTableColumn(String label,
SourceSinkFactory valueFactory,
boolean isEditable,
ListModel choices,
boolean isConstrainedToChoices)
|
Method Summary | |
boolean |
equals(Object obj)
|
ListModel |
getChoices()
What set of predefined values may cells be set to? |
Class |
getColumnClass()
What class do this column's cell values belong to? |
String |
getLabel()
Returns the label that should be used for this column. |
SourceSink |
getValue(Object context)
An XTableModel has one context object per row. |
int |
hashCode()
|
boolean |
isConstrainedToChoices()
May cells be set to values values other than those returned by getChoices? |
boolean |
isEditable()
Are the cell values in this column editable? |
void |
setChoices(ListModel choices)
|
void |
setConstrainedToChoices(boolean isConstrainedToChoices)
|
void |
setEditable(boolean isEditable)
|
void |
setLabel(String label)
|
void |
setLabelSS(SourceSink labelSS)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XTableColumn(String label, SourceSinkFactory valueFactory, boolean isEditable, ListModel choices, boolean isConstrainedToChoices)
public XTableColumn(SourceSink labelSS, SourceSinkFactory valueFactory, boolean isEditable, ListModel choices, boolean isConstrainedToChoices)
Method Detail |
public String getLabel() throws Exception
Exception
public SourceSink getValue(Object context) throws Exception
context
- The row contect object
Exception
public boolean isEditable()
public Class getColumnClass()
public ListModel getChoices()
public boolean isConstrainedToChoices()
public boolean equals(Object obj)
public int hashCode()
public void setChoices(ListModel choices)
public void setConstrainedToChoices(boolean isConstrainedToChoices)
public void setEditable(boolean isEditable)
public void setLabel(String label)
public void setLabelSS(SourceSink labelSS)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |