|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PropertyGridModel
| Method Summary | |
|---|---|
void |
addListDataListener(ListDataListener l)
Adds a listener to the list that's notified each time a change to the data model occurs. |
int |
getCategoryCount()
Returns the category count for this model. |
int |
getCategoryIndex(int propertyIndex)
Returns the category index of the specified property index. |
String |
getCategoryName(int categoryIndex)
Returns the category name of the specified index. |
Class |
getClass(int index)
Returns the property class at the specified index. |
int |
getCount()
Returns the property count. |
Object |
getKey(int index)
Returns the property key at the specified index. |
Object |
getValue(int index)
Returns the property value at the specified index. |
boolean |
isEditable(int index)
Determines whether the property is editable at the specified index. |
void |
removeListDataListener(ListDataListener l)
Removes a listener from the list that's notified each time a change to the data model occurs. |
void |
setValue(int index,
Object value)
Sets the property value at the specified index. |
| Method Detail |
|---|
int getCount()
Object getKey(int index)
index - the specified indexObject getValue(int index)
index - the specified index
void setValue(int index,
Object value)
index - the specified indexvalue - the property valueClass getClass(int index)
index - the specified index
boolean isEditable(int index)
index - the specified index
int getCategoryCount()
String getCategoryName(int categoryIndex)
categoryIndex - the category index
int getCategoryIndex(int propertyIndex)
propertyIndex - the specified property index
void addListDataListener(ListDataListener l)
l - the ListDataListener to be addedvoid removeListDataListener(ListDataListener l)
l - the ListDataListener to be removed
|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||