graphlab.ui
Class ParameterShower
java.lang.Object
graphlab.ui.ParameterShower
- All Implemented Interfaces:
- AttributeListener
public class ParameterShower
- extends java.lang.Object
- implements AttributeListener
this class provides the ability to show and edit the parametr of a
parametrizable object with a property editor
- Author:
- azin azadi
Method Summary |
void |
attributeUpdated(java.lang.String name,
java.lang.Object oldVal,
java.lang.Object newVal)
|
void |
show(java.lang.Object o)
show all the fields of the object which have setter and getter in a property editor in runtime
so you can change them easily |
boolean |
show(Parametrizable p)
|
boolean |
xshow(java.lang.Object o)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParameterShower
public ParameterShower()
show
public void show(java.lang.Object o)
- show all the fields of the object which have setter and getter in a property editor in runtime
so you can change them easily
- Parameters:
o
-
xshow
public boolean xshow(java.lang.Object o)
show
public boolean show(Parametrizable p)
attributeUpdated
public void attributeUpdated(java.lang.String name,
java.lang.Object oldVal,
java.lang.Object newVal)
- Specified by:
attributeUpdated
in interface AttributeListener