protected void
actionPropertyChanged
(Action action, String propertyName)
[Inherited From JTextField]
public void
addPropertyChangeListener
(String propertyName, PropertyChangeListener listener)
[Inherited From Container]
publicsynchronized void
addVetoableChangeListener
(VetoableChangeListener listener)
[Inherited From JComponent]
public int
checkImage
(Image image, int width, int height, ImageObserver observer)
[Inherited From Component]
pack-private void
clientPropertyChanged
(Object key, Object oldValue, Object newValue)
[Inherited From JComponent]
pack-privatefinalstatic void
computeVisibleRect
(Component c, Rectangle visibleRect)
[Inherited From JComponent]
protected PropertyChangeListener
createActionPropertyChangeListener
(Action a)
[Inherited From JTextField]
public VolatileImage
createVolatileImage
(int width, int height, ImageCapabilities caps)
throws
AWTException
[Inherited From Component]
public void
firePropertyChange
(String propertyName, boolean oldValue, boolean newValue)
[Inherited From JComponent]
public void
firePropertyChange
(String propertyName, char oldValue, char newValue)
[Inherited From JComponent]
public void
firePropertyChange
(String propertyName, int oldValue, int newValue)
[Inherited From JComponent]
protected void
fireVetoableChange
(String propertyName, Object oldValue, Object newValue)
throws
PropertyVetoException
[Inherited From JComponent]
publicsynchronized DropTarget
getDropTarget
()
[Inherited From Component]
DropTarget associated with this
Component.
publicsynchronized HierarchyBoundsListener
getHierarchyBoundsListeners
()
[Inherited From Component]
pack-privatestatic Set<KeyStroke>
getManagingFocusBackwardTraversalKeys
()
[Inherited From JComponent]
KeyStrokes to use if the component
is managing focus for backward focus traversal.
pack-privatestatic Set<KeyStroke>
getManagingFocusForwardTraversalKeys
()
[Inherited From JComponent]
KeyStrokes to use if the component
is managing focus for forward focus traversal.
public Point
getMousePosition
(boolean allowChildren)
throws
HeadlessException
[Inherited From Container]
public Printable
getPrintable
(MessageFormat headerFormat, MessageFormat footerFormat)
[Inherited From JTextComponent]
publicsynchronized PropertyChangeListener
getPropertyChangeListeners
(String propertyName)
[Inherited From Component]
public int
getScrollableBlockIncrement
(Rectangle visibleRect, int orientation, int direction)
[Inherited From JTextComponent]
public int
getScrollableUnitIncrement
(Rectangle visibleRect, int orientation, int direction)
[Inherited From JTextComponent]
public String
getText
(int offs, int len)
throws
BadLocationException
[Inherited From JTextComponent]
pack-private boolean
hasActionListener
()
[Inherited From JTextField]
ActionListener
installed.
pack-private boolean
isPainting
()
[Inherited From JComponent]
publicstatic void
loadKeymap
(Keymap map, KeyBinding bindings, Action actions)
[Inherited From JTextComponent]
pack-private void
paintToOffscreen
(Graphics g, int x, int y, int w, int h, int maxX, int maxY)
[Inherited From JComponent]
public boolean
prepareImage
(Image image, int width, int height, ImageObserver observer)
[Inherited From Component]
public boolean
print
(MessageFormat headerFormat, MessageFormat footerFormat)
throws
PrinterException
[Inherited From JTextComponent]
public boolean
print
(MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintService service, PrintRequestAttributeSet attributes, boolean interactive)
throws
PrinterException
[Inherited From JTextComponent]
protected boolean
processKeyBinding
(KeyStroke ks, KeyEvent e, int condition, boolean pressed)
[Inherited From JComponent]
pack-privatestatic boolean
processKeyBindingsForAllComponents
(KeyEvent e, Container container, boolean pressed)
[Inherited From JComponent]
protected void
processKeyEvent
(KeyEvent e)
[Inherited From JComponent]
processKeyEvent to process events.
protected void
processMouseEvent
(MouseEvent e)
[Inherited From JComponent]
Processes mouse events occurring on this component by
dispatching them to any registered
MouseListener objects, refer to
Component.processMouseEvent(MouseEvent)
for a complete description of this method.
pack-private boolean
rectangleIsObscured
(int x, int y, int width, int height)
[Inherited From JComponent]
public void
registerKeyboardAction
(ActionListener anAction, KeyStroke aKeyStroke, int aCondition)
[Inherited From JComponent]
getActionMap() and getInputMap() for
similiar behavior.
public void
registerKeyboardAction
(ActionListener anAction, String aCommand, KeyStroke aKeyStroke, int aCondition)
[Inherited From JComponent]
publicsynchronized void
removeInputMethodListener
(InputMethodListener l)
[Inherited From Component]
publicsynchronized void
removeMouseMotionListener
(MouseMotionListener l)
[Inherited From Component]
publicsynchronized void
removePropertyChangeListener
(PropertyChangeListener listener)
[Inherited From Component]
publicsynchronized void
removePropertyChangeListener
(String propertyName, PropertyChangeListener listener)
[Inherited From Component]
publicsynchronized void
removeVetoableChangeListener
(VetoableChangeListener listener)
[Inherited From JComponent]
pack-privatestatic Graphics
safelyGetGraphics
(Component c, Component root)
[Inherited From JComponent]
pack-private Object
setDropLocation
(DropLocation location, Object state, boolean forDrop)
[Inherited From JComponent]
public void
setFocusTraversalKeys
(int id, Set<AWTKeyStroke> keystrokes)
[Inherited From JComponent]
public void
setFocusTraversalKeysEnabled
(boolean focusTraversalKeysEnabled)
[Inherited From Component]
public void
public void
setVerifyInputWhenFocusTarget
(boolean verifyInputWhenFocusTarget)
[Inherited From JComponent]
pack-privatestatic void
setWriteObjCounter
(JComponent comp, byte count)
[Inherited From JComponent]
pack-private int
shouldDebugGraphics
()
[Inherited From JComponent]
JComponent or one of its parents.
protected
AccessibleContext accessibleContext
[Inherited From JComponent]
AccessibleContext associated with this
JComponent.
pack-privatestatic
boolean DEBUG_GRAPHICS_LOADED
[Inherited From JComponent]
publicfinalstatic
String DEFAULT_KEYMAP
= "default"
[Inherited From JTextComponent]
JTextComponent instances unless they
have had a different keymap set.
publicfinalstatic
String FOCUS_ACCELERATOR_KEY
= "focusAcceleratorKey"
[Inherited From JTextComponent]
protected
EventListenerList listenerList
[Inherited From JComponent]
publicfinalstatic
String TOOL_TIP_TEXT_KEY
= "ToolTipText"
[Inherited From JComponent]
protectedtransient
ComponentUI ui
[Inherited From JComponent]
publicfinalstatic
int UNDEFINED_CONDITION
= "-1"
[Inherited From JComponent]
publicfinalstatic
int WHEN_ANCESTOR_OF_FOCUSED_COMPONENT
= "1"
[Inherited From JComponent]
registerKeyboardAction that
means that the command should be invoked when the receiving
component is an ancestor of the focused component or is
itself the focused component.
publicfinalstatic
int WHEN_FOCUSED
= "0"
[Inherited From JComponent]
registerKeyboardAction that
means that the command should be invoked when
the component has the focus.
publicfinalstatic
int WHEN_IN_FOCUSED_WINDOW
= "2"
[Inherited From JComponent]
registerKeyboardAction that
means that the command should be invoked when
the receiving component is in the window that has the focus
or is itself the focused component.
AbstractFormatterFactory are used by
JFormattedTextField to obtain instances of
AbstractFormatter which in turn are used to format values.
AbstractFormatter are used by
JFormattedTextField to handle the conversion both
from an Object to a String, and back from a String to an Object.
JTextField class.
JTextComponent class.
ActionStandin is used as a standin for
ActionListeners that are
added via registerKeyboardAction.