|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zfqjava.swing.AbstractPropertyGridModel
com.zfqjava.swing.model.BeanPropertyGridModel
public class BeanPropertyGridModel
BeanPropertyGridModel provides a bean PropertyGridModel.
| Field Summary |
|---|
| Fields inherited from class com.zfqjava.swing.AbstractPropertyGridModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
BeanPropertyGridModel(Object bean)
|
|
BeanPropertyGridModel(String beanName)
|
|
| Method Summary | |
|---|---|
Object |
getBean()
|
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 |
setValue(int index,
Object value)
Sets the property value at the specified index. |
| Methods inherited from class com.zfqjava.swing.AbstractPropertyGridModel |
|---|
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BeanPropertyGridModel(String beanName)
public BeanPropertyGridModel(Object bean)
| Method Detail |
|---|
public Object getBean()
public int getCount()
PropertyGridModel
public Object getKey(int index)
PropertyGridModel
index - the specified indexpublic Object getValue(int index)
PropertyGridModel
index - the specified index
public void setValue(int index,
Object value)
PropertyGridModel
index - the specified indexvalue - the property valuepublic Class getClass(int index)
PropertyGridModel
index - the specified index
public boolean isEditable(int index)
PropertyGridModel
index - the specified index
public int getCategoryCount()
PropertyGridModel
public String getCategoryName(int categoryIndex)
PropertyGridModel
categoryIndex - the category index
public int getCategoryIndex(int propertyIndex)
PropertyGridModel
propertyIndex - the specified property index
|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||