|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcdx.scorebot.util.swing.binding.IntermediateField<TYPE>
public class IntermediateField<TYPE>
Describes a text field which holds a value of type TYPE
| Constructor Summary | |
|---|---|
IntermediateField()
Instantiates an unbound intermediate holderBound |
|
IntermediateField(java.lang.Object boundItem,
java.lang.String varName)
Instantiates a bound intermediate holder; generic type MUST be String |
|
IntermediateField(java.lang.Object boundItem,
java.lang.String getterName,
java.lang.String setterName)
Instantiates a bound intermediate holder; generic type MUST be String |
|
IntermediateField(java.lang.String varName)
Instantiates an unbound intermediate holder; generic type MUST be String |
|
IntermediateField(java.lang.String getterName,
java.lang.String setterName)
Instantiates a bound intermediate holder; generic type MUST be String |
|
| Method Summary | |
|---|---|
IntermediateFieldDelegate<TYPE> |
getBindingDelegate()
gets the delete which controls the binding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntermediateField()
public IntermediateField(java.lang.String varName)
varName - the name of the variable; assumes the getter and setter name will
be get and set followed by varName with its first letter capitalized
(ex: if varName is "value" then the getter will be getValue).
public IntermediateField(java.lang.Object boundItem,
java.lang.String varName)
boundItem - the object this is bound to (contains the value to be modified as specified by varName)varName - the name of the variable; assumes the getter and setter name will
be get and set followed by varName with its first letter capitalized
(ex: if varName is "value" then the getter will be getValue).
public IntermediateField(java.lang.String getterName,
java.lang.String setterName)
getterName - how to get the bound value from the bound objectsetterName - how to set the bound value from the bound object
public IntermediateField(java.lang.Object boundItem,
java.lang.String getterName,
java.lang.String setterName)
boundItem - the object this is bound to (contains the value to be modified as specified by the getter
and setter name)getterName - how to get the bound value from the bound objectsetterName - how to set the bound value from the bound object| Method Detail |
|---|
public IntermediateFieldDelegate<TYPE> getBindingDelegate()
getBindingDelegate in interface BoundComponentgetBindingDelegate in interface BoundContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||