wt.clients.gui
Class ChangeIdentityPanel
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Panel
wt.clients.gui.ChangeIdentityPanel
- All Implemented Interfaces:
- Accessible, ImageObserver, MenuContainer, Serializable
- public class ChangeIdentityPanel
- extends Panel
- See Also:
- Serialized Form
Fields inherited from class java.awt.Panel |
|
Fields inherited from class java.awt.Container |
|
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle |
versionID
private static final String versionID
- See Also:
- Constant Field Values
nameLabel
Label nameLabel
nameTextField
TextField nameTextField
numberLabel
Label numberLabel
numberTextField
TextField numberTextField
RESOURCES
protected static String RESOURCES
resources
protected static ResourceBundle resources
parentApplet
private Applet parentApplet
parentFrame
private Frame parentFrame
identifiedObject
private Identified identifiedObject
selectedObject
private Object selectedObject
currentName
private String currentName
currentNumber
private String currentNumber
contextGroup
private ThreadGroup contextGroup
identityListeners
private Vector identityListeners
allowNullName
private boolean allowNullName
ChangeIdentityPanel
public ChangeIdentityPanel()
initResources
private void initResources()
localize
private void localize()
setParentApplet
public void setParentApplet(Applet parent_applet)
getParentApplet
public Applet getParentApplet()
setParentFrame
public void setParentFrame(Frame parent_frame)
getParentFrame
public Frame getParentFrame()
setIdentifiedObject
public void setIdentifiedObject(Identified identified)
throws WTException
- Throws:
WTException
getIdentifiedObject
public Identified getIdentifiedObject()
setSelectedObject
public void setSelectedObject(Object selected)
changeIdentity
public Identified changeIdentity()
throws WTIntrospectionException,
WTException
- Throws:
WTIntrospectionException
WTException
initializeProperties
protected void initializeProperties()
throws WTException
- Throws:
WTException
showMessageDialog
protected void showMessageDialog(String message)
getContext
protected WTContext getContext()
getLocalizedMessage
protected String getLocalizedMessage(String key,
Object[] params)
- Deprecated.
- See WTMessage.getLocalizedMessage( )
dispatchRefresh
protected void dispatchRefresh(Object obj,
int action)
setAttribute
protected void setAttribute(String attr,
String value)
throws WTIntrospectionException,
WTException
- Throws:
WTIntrospectionException
WTException
enablePanel
public void enablePanel(boolean enable)
updateNameLayout
private void updateNameLayout()
refresh
public void refresh()
addChangeIdentityListener
public void addChangeIdentityListener(ChangeIdentityListener acl)
removeChangeIdentityListener
public void removeChangeIdentityListener(ChangeIdentityListener acl)
notifyChangeIdentityListeners
protected void notifyChangeIdentityListeners(ChangeIdentityEvent evt)
addKeyListener
public void addKeyListener(KeyListener l)
getObjectPropertyDescriptor
protected static PropertyDescriptor getObjectPropertyDescriptor(Identified identified_obj,
String attribute)
throws WTIntrospectionException,
WTException
- Utility method to retrieve PropertyDescriptor of modelled attributes on Persistable objects.
Note that this method gets the PropertyDescriptor of
attributes directly on the Identified object and not on the IdentificationObject.
- Throws:
WTIntrospectionException
WTException
getPropertyDescriptor
protected static PropertyDescriptor getPropertyDescriptor(Identified identified_obj,
String attribute)
throws WTIntrospectionException,
WTException
- Throws:
WTIntrospectionException
WTException
setAllowNullName
public void setAllowNullName(boolean nullName)