|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.ui.EditmaskAttributes
public class EditmaskAttributes
EditmaskAttributes implements Attributes. It is a container for setting the editword and editmask used by a view of JFormattedTextField. The editmask will change the look of a field.
Attributes
,
Serialized FormField Summary | |
---|---|
static String |
Copyright
|
protected PropertyChangeSupport |
propertyChange
|
protected VetoableChangeSupport |
vetoPropertyChange
|
Fields inherited from interface com.ibm.etools.iseries.ui.Attributes |
---|
copyright |
Constructor Summary | |
---|---|
EditmaskAttributes()
Constructs a new EditmaskAttributes. |
|
EditmaskAttributes(String editWord,
String editMask)
Constructs a new EditmaskAttributes with the specified editword and editmask. |
Method Summary | |
---|---|
void |
addEditmaskAttributesChangeListener(EditmaskAttributesChangeListener l)
Add a EditmaskAttributesChangeListener |
void |
addPropertyChangeListener(PropertyChangeListener l)
|
void |
addVetoableChangeListener(VetoableChangeListener l)
Add a vetoableChangeListener. |
static String |
Copyright()
This method returns the copyright notice for this class. |
void |
fireEditmaskAttributesChangeEvent(EditmaskAttributesChangeEvent evt)
Report that the properties of EditmaskAttributes are changed to any registered listeners. |
String |
getEditMask()
Gets the editMask property (String) value. |
String |
getEditWord()
Gets the editWord property (String) value. |
void |
propertyChange(PropertyChangeEvent e)
Examine the PropertyChangeEvent and decides what to do on a particular event. |
void |
removeEditmaskAttributesChangeListener(EditmaskAttributesChangeListener l)
Remove a EditmaskAttributesChangeListener |
void |
removePropertyChangeListener(PropertyChangeListener l)
Removes a propertyChangeListener. |
void |
removeVetoableChangeListener(VetoableChangeListener l)
Removes a vetoableChangeListener. |
void |
setEditMask(String mask)
Sets the editMask property (String) value. |
void |
setEditWord(String word)
Sets the editWord property (String) value. |
void |
vetoableChange(PropertyChangeEvent e)
This method gets called when a constrained property is changed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
protected transient PropertyChangeSupport propertyChange
protected transient VetoableChangeSupport vetoPropertyChange
Constructor Detail |
---|
public EditmaskAttributes()
public EditmaskAttributes(String editWord, String editMask)
editWord
- StringeditMask
- StringMethod Detail |
---|
public void addEditmaskAttributesChangeListener(EditmaskAttributesChangeListener l)
l
- com.ibm.etools.iseries.ui.EditmaskAttributesChangeListenerpublic void addPropertyChangeListener(PropertyChangeListener l)
public void addVetoableChangeListener(VetoableChangeListener l)
l
- java.beans.VetoableChangeListenerpublic static String Copyright()
public void fireEditmaskAttributesChangeEvent(EditmaskAttributesChangeEvent evt)
evt
- com.ibm.etools.iseries.ui.EditmaskAttributesChangeEventpublic String getEditMask()
setEditMask(java.lang.String)
public String getEditWord()
setEditWord(java.lang.String)
public void propertyChange(PropertyChangeEvent e)
propertyChange
in interface PropertyChangeListener
e
- java.beans.PropertyChangeEventpublic void removeEditmaskAttributesChangeListener(EditmaskAttributesChangeListener l)
l
- com.ibm.etools.iseries.ui.EditmaskAttributesChangeListenerpublic void removePropertyChangeListener(PropertyChangeListener l)
l
- PropertyChangeListenerpublic void removeVetoableChangeListener(VetoableChangeListener l)
l
- java.beans.VetoableChangeListenerpublic void setEditMask(String mask) throws PropertyVetoException
editMask
- The new value for the property.
PropertyVetoException
getEditMask()
public void setEditWord(String word) throws PropertyVetoException
editWord
- The new value for the property.
PropertyVetoException
getEditWord()
public void vetoableChange(PropertyChangeEvent e) throws PropertyVetoException
vetoableChange
in interface VetoableChangeListener
e
- java.beans.PropertyChangeEvent a PropertyChangeEvent object describing the event source and the property that has changed.
PropertyVetoException
- if the recipient wishes the property change to be rolled back.
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |