|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mlc.swing.layout.BeanProperty
public class BeanProperty
This represents a property in the ComponentBuilder. This is kind of a hack and this really should be done simply using introspection and property editors. It is simple though and works for now...
| Field Summary | |
|---|---|
(package private) java.lang.String |
name
|
(package private) java.util.List<java.lang.Object> |
possibleValues
|
(package private) java.lang.Class |
type
|
| Constructor Summary | |
|---|---|
BeanProperty(java.lang.String name,
java.lang.Class type)
|
|
BeanProperty(java.lang.String name,
java.lang.Class type,
java.util.List<java.lang.Object> possibleValues)
Creates a new instance of BeanProperty |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the value of the name property |
java.lang.Class |
getType()
Returns the value of the type property |
void |
setName(java.lang.String name)
Registers the value of the name property |
void |
setType(java.lang.Class type)
Registers the value of the type property |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.lang.String name
java.lang.Class type
java.util.List<java.lang.Object> possibleValues
| Constructor Detail |
|---|
public BeanProperty(java.lang.String name,
java.lang.Class type,
java.util.List<java.lang.Object> possibleValues)
public BeanProperty(java.lang.String name,
java.lang.Class type)
| Method Detail |
|---|
public void setName(java.lang.String name)
name - The value of the propertypublic java.lang.String getName()
public void setType(java.lang.Class type)
type - The value of the propertypublic java.lang.Class getType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||