|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.clients.beans.selectors.ComponentDelegateAdapter
wt.clients.beans.selectors.QuantityComponentDelegate
Component delegate for wt.part.Quantity attributes.
Field Summary | |
private static String |
CLASSNAME
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private static String |
versionID
|
Fields inherited from class wt.clients.beans.selectors.ComponentDelegateAdapter |
|
Constructor Summary | |
QuantityComponentDelegate()
|
Method Summary | |
Component |
getComponent()
Return the component to be used. |
Dimension |
getComponentPreferredGridSize()
Return the preferred grid size of the component. |
Object |
getValue()
Return the current value for the attribute as contained in the component used to display the attribute value. |
boolean |
hasOwnLabel()
Returns true if the component supplies its own label and one should not be created for it by the AttributesForm. |
void |
propertyChange(PropertyChangeEvent evt)
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private void |
readOldVersion(ObjectInput input,
long readSerialVersionUID)
Reads the non-transient fields of this class from an external source, which is not the current version. |
void |
setValue(Object value)
Sets the current value for the attribute. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String versionID
static final long serialVersionUID
Constructor Detail |
public QuantityComponentDelegate()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class ComponentDelegateAdapter
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class ComponentDelegateAdapter
input
-
IOException
ClassNotFoundException
private void readOldVersion(ObjectInput input, long readSerialVersionUID) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
-
IOException
ClassNotFoundException
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
evt
- public Component getComponent()
ComponentDelegateAdapter
getComponent
in interface ComponentDelegate
getComponent
in class ComponentDelegateAdapter
public Object getValue() throws WTException
ComponentDelegateAdapter
getValue
in interface ComponentDelegate
getValue
in class ComponentDelegateAdapter
WTException
public void setValue(Object value) throws WTException
ComponentDelegateAdapter
setValue
in interface ComponentDelegate
setValue
in class ComponentDelegateAdapter
value
-
WTException
public Dimension getComponentPreferredGridSize()
ComponentDelegateAdapter
getComponentPreferredGridSize
in interface ComponentDelegate
getComponentPreferredGridSize
in class ComponentDelegateAdapter
public boolean hasOwnLabel()
ComponentDelegateAdapter
hasOwnLabel
in interface ComponentDelegate
hasOwnLabel
in class ComponentDelegateAdapter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |