Logo Search packages:      
Sourcecode: kaffe version File versions  Download package

javax::swing::JFormattedTextField Class Reference

Inheritance diagram for javax::swing::JFormattedTextField:

javax::swing::SwingConstants javax::swing::JComponent javax::swing::Scrollable javax::accessibility::Accessible java::awt::Container java::io::Serializable java::awt::Component java::awt::Component java::io::Serializable java::awt::MenuContainer java::awt::image::ImageObserver java::io::Serializable java::awt::MenuContainer java::awt::image::ImageObserver java::io::Serializable java::awt::MenuContainer java::awt::image::ImageObserver java::io::Serializable java::awt::MenuContainer java::awt::image::ImageObserver

List of all members.


Detailed Description

A text field that makes use of a formatter to display and edit a specific type of data. The value that is displayed can be an arbitrary object. The formatter is responsible for displaying the value in a textual form and it may allow editing of the value.

Formatters are usually obtained using an instance of AbstractFormatterFactory. This factory is responsible for providing an instance of AbstractFormatter that is able to handle the formatting of the value of the JFormattedTextField.

Author:
Michael Koch

Anthony Balkissoon abalkiss at redhat dot com

Since:
1.4

Definition at line 75 of file JFormattedTextField.java.


Public Member Functions

boolean action (Event evt, Object what)
void add (PopupMenu menu)
void add (Component comp, Object constraints, int index)
void add (Component comp, Object constraints)
Component add (Component comp, int index)
Component add (String name, Component comp)
Component add (Component comp)
Component add (String name, Component child)
Component add (Component child, int index)
void add (Component child, Object constraints, int index)
void add (Component child, Object constraints)
Component add (Component child)
void addActionListener (ActionListener listener)
void addAncestorListener (AncestorListener listener)
void addCaretListener (CaretListener listener)
synchronized void addComponentListener (ComponentListener listener)
void addComponentListener (ComponentListener newListener)
synchronized void addContainerListener (ContainerListener listener)
void addContainerListener (ContainerListener newListener)
synchronized void addFocusListener (FocusListener listener)
void addFocusListener (FocusListener newListener)
synchronized void addHierarchyBoundsListener (HierarchyBoundsListener listener)
synchronized void addHierarchyListener (HierarchyListener listener)
void addInputMethodListener (InputMethodListener listener)
synchronized void addKeyListener (KeyListener listener)
void addKeyListener (KeyListener newListener)
synchronized void addMouseListener (MouseListener listener)
void addMouseListener (MouseListener newListener)
synchronized void addMouseMotionListener (MouseMotionListener listener)
void addMouseMotionListener (MouseMotionListener newListener)
synchronized void addMouseWheelListener (MouseWheelListener listener)
void addNotify ()
void addPropertyChangeListener (String propertyName, PropertyChangeListener listener)
void addPropertyChangeListener (PropertyChangeListener listener)
void addVetoableChangeListener (VetoableChangeListener listener)
void applyComponentOrientation (ComponentOrientation orientation)
boolean areFocusTraversalKeysSet (int id)
Rectangle bounds ()
Rectangle bounds ()
int checkImage (Image image, int width, int height, ImageObserver observer)
int checkImage (Image image, ImageObserver observer)
int checkImage (Image image, int width, int height, ImageObserver obs)
int checkImage (Image image, ImageObserver obs)
void commitEdit () throws ParseException
void computeVisibleRect (Rectangle rect)
boolean contains (Point pt)
boolean contains (int x, int y)
void copy ()
int countComponents ()
int countComponents ()
Image createImage (int width, int height)
Image createImage (ImageProducer producer)
Image createImage (int width, int height)
Image createImage (ImageProducer producer)
JToolTip createToolTip ()
VolatileImage createVolatileImage (int width, int height, ImageCapabilities caps) throws AWTException
VolatileImage createVolatileImage (int width, int height)
void cut ()
void deliverEvent (Event e)
void disable ()
void disableEvents (long disableMask)
final void dispatchEvent (AWTEvent e)
final void dispatchEvent (AWTEvent evt)
void doLayout ()
void doLayout ()
void enable (boolean isEnabled)
void enable ()
void enableEvents (long enableMask)
void enableInputMethods (boolean enable)
Component findComponentAt (Point p)
Component findComponentAt (int x, int y)
void firePropertyChange (String propertyName, short oldValue, short newValue)
void firePropertyChange (String propertyName, long oldValue, long newValue)
void firePropertyChange (String propertyName, int oldValue, int newValue)
void firePropertyChange (String propertyName, float oldValue, float newValue)
void firePropertyChange (String propertyName, double oldValue, double newValue)
void firePropertyChange (String propertyName, char oldValue, char newValue)
void firePropertyChange (String propertyName, byte oldValue, byte newValue)
void firePropertyChange (String propertyName, boolean oldValue, boolean newValue)
AccessibleContext getAccessibleContext ()
Action getAction ()
ActionListener getActionForKeyStroke (KeyStroke ks)
ActionListener[] getActionListeners ()
final ActionMap getActionMap ()
Action[] getActions ()
float getAlignmentX ()
float getAlignmentY ()
AncestorListener[] getAncestorListeners ()
boolean getAutoscrolls ()
Color getBackground ()
Color getBackground ()
Border getBorder ()
Rectangle getBounds ()
Rectangle getBounds (Rectangle rv)
Caret getCaret ()
Color getCaretColor ()
CaretListener[] getCaretListeners ()
int getCaretPosition ()
final Object getClientProperty (Object key)
ColorModel getColorModel ()
ColorModel getColorModel ()
int getColumns ()
Component getComponent (int n)
Component getComponent (int index)
Component getComponentAt (Point p)
Component getComponentAt (int x, int y)
Component getComponentAt (int x, int y)
Component getComponentAt (Point pt)
int getComponentCount ()
int getComponentCount ()
synchronized ComponentListener[] getComponentListeners ()
ComponentOrientation getComponentOrientation ()
Component[] getComponents ()
Component[] getComponents ()
int getConditionForKeyStroke (KeyStroke ks)
synchronized ContainerListener[] getContainerListeners ()
Cursor getCursor ()
Cursor getCursor ()
int getDebugGraphicsOptions ()
Color getDisabledTextColor ()
Document getDocument ()
boolean getDragEnabled ()
DropTarget getDropTarget ()
char getFocusAccelerator ()
Container getFocusCycleRootAncestor ()
synchronized FocusListener[] getFocusListeners ()
int getFocusLostBehavior ()
Set getFocusTraversalKeys (int id)
boolean getFocusTraversalKeysEnabled ()
FocusTraversalPolicy getFocusTraversalPolicy ()
Font getFont ()
Font getFont ()
FontMetrics getFontMetrics (Font font)
FontMetrics getFontMetrics (Font font)
Color getForeground ()
Color getForeground ()
AbstractFormatter getFormatter ()
AbstractFormatterFactory getFormatterFactory ()
Graphics getGraphics ()
GraphicsConfiguration getGraphicsConfiguration ()
int getHeight ()
synchronized
HierarchyBoundsListener[] 
getHierarchyBoundsListeners ()
synchronized HierarchyListener[] getHierarchyListeners ()
Highlighter getHighlighter ()
int getHorizontalAlignment ()
BoundedRangeModel getHorizontalVisibility ()
boolean getIgnoreRepaint ()
InputContext getInputContext ()
final InputMap getInputMap ()
final InputMap getInputMap (int condition)
InputMethodListener[] getInputMethodListeners ()
InputMethodRequests getInputMethodRequests ()
InputVerifier getInputVerifier ()
Insets getInsets (Insets insets)
Insets getInsets ()
synchronized KeyListener[] getKeyListeners ()
Keymap getKeymap ()
LayoutManager getLayout ()
LayoutManager getLayout ()
EventListener[] getListeners (Class listenerType)
Locale getLocale ()
Locale getLocale ()
Point getLocation ()
Point getLocation (Point rv)
Point getLocationOnScreen ()
Point getLocationOnScreen ()
Insets getMargin ()
Dimension getMaximumSize ()
Dimension getMinimumSize ()
synchronized MouseListener[] getMouseListeners ()
synchronized MouseMotionListener[] getMouseMotionListeners ()
synchronized MouseWheelListener[] getMouseWheelListeners ()
String getName ()
String getName ()
NavigationFilter getNavigationFilter ()
Component getNextFocusableComponent ()
Container getParent ()
Container getParent ()
ComponentPeer getPeer ()
ComponentPeer getPeer ()
Dimension getPreferredScrollableViewportSize ()
Dimension getPreferredSize ()
PropertyChangeListener[] getPropertyChangeListeners ()
PropertyChangeListener[] getPropertyChangeListeners (String property)
KeyStroke[] getRegisteredKeyStrokes ()
JRootPane getRootPane ()
int getScrollableBlockIncrement (Rectangle visible, int orientation, int direction)
boolean getScrollableTracksViewportHeight ()
boolean getScrollableTracksViewportWidth ()
int getScrollableUnitIncrement (Rectangle visible, int orientation, int direction)
int getScrollOffset ()
String getSelectedText ()
Color getSelectedTextColor ()
Color getSelectionColor ()
int getSelectionEnd ()
int getSelectionStart ()
Dimension getSize ()
Dimension getSize (Dimension rv)
String getText (int offset, int length) throws BadLocationException
String getText ()
Toolkit getToolkit ()
Toolkit getToolkit ()
Point getToolTipLocation (MouseEvent event)
String getToolTipText ()
String getToolTipText (MouseEvent ev)
Container getTopLevelAncestor ()
TransferHandler getTransferHandler ()
final Object getTreeLock ()
final Object getTreeLock ()
TextUI getUI ()
String getUIClassID ()
Object getValue ()
boolean getVerifyInputWhenFocusTarget ()
VetoableChangeListener[] getVetoableChangeListeners ()
Rectangle getVisibleRect ()
int getWidth ()
int getX ()
int getY ()
boolean gotFocus (Event evt, Object what)
boolean gotFocus (Event evt, Object what)
void grabFocus ()
boolean handleEvent (Event evt)
boolean handleEvent (Event evt)
boolean hasFocus ()
void hide ()
boolean imageUpdate (Image img, int flags, int x, int y, int w, int h)
boolean imageUpdate (Image img, int infoflags, int x, int y, int width, int height)
Insets insets ()
Insets insets ()
boolean inside (int x, int y)
boolean inside (int x, int y)
void invalidate ()
void invalidate ()
boolean isAncestorOf (Component comp)
boolean isAncestorOf (Component c)
boolean isBackgroundSet ()
boolean isCursorSet ()
boolean isDisplayable ()
boolean isDoubleBuffered ()
boolean isEditable ()
boolean isEditValid ()
boolean isEnabled ()
boolean isEnabled ()
boolean isFocusable ()
boolean isFocusCycleRoot ()
boolean isFocusCycleRoot (Container c)
boolean isFocusOwner ()
boolean isFocusTraversable ()
boolean isFocusTraversable ()
boolean isFocusTraversalPolicySet ()
boolean isFontSet ()
boolean isForegroundSet ()
boolean isLightweight ()
boolean isManagingFocus ()
boolean isMaximumSizeSet ()
boolean isMinimumSizeSet ()
boolean isOpaque ()
boolean isOptimizedDrawingEnabled ()
boolean isPaintingTile ()
boolean isPreferredSizeSet ()
boolean isRequestFocusEnabled ()
boolean isShowing ()
boolean isShowing ()
boolean isValid ()
boolean isValid ()
boolean isValidateRoot ()
boolean isVisible ()
boolean isVisible ()
 JFormattedTextField (Object value)
 JFormattedTextField (AbstractFormatterFactory factory, Object value)
 JFormattedTextField (AbstractFormatterFactory factory)
 JFormattedTextField (AbstractFormatter formatter)
 JFormattedTextField (Format format)
 JFormattedTextField ()
boolean keyDown (Event evt, int key)
boolean keyDown (Event evt, int key)
boolean keyUp (Event evt, int key)
boolean keyUp (Event evt, int key)
void layout ()
void layout ()
void list (PrintWriter out)
void list (PrintStream out)
void list ()
void list (PrintWriter out, int indent)
void list (PrintStream out, int indent)
void list (PrintWriter out, int indent)
void list (PrintStream out, int indent)
Component locate (int x, int y)
Component locate (int x, int y)
Point location ()
Point location ()
boolean lostFocus (Event evt, Object what)
boolean lostFocus (Event evt, Object what)
Dimension minimumSize ()
Rectangle modelToView (int position) throws BadLocationException
boolean mouseDown (Event evt, int x, int y)
boolean mouseDown (Event evt, int x, int y)
boolean mouseDrag (Event evt, int x, int y)
boolean mouseDrag (Event evt, int x, int y)
boolean mouseEnter (Event evt, int x, int y)
boolean mouseEnter (Event evt, int x, int y)
boolean mouseExit (Event evt, int x, int y)
boolean mouseExit (Event evt, int x, int y)
boolean mouseMove (Event evt, int x, int y)
boolean mouseMove (Event evt, int x, int y)
boolean mouseUp (Event evt, int x, int y)
boolean mouseUp (Event evt, int x, int y)
void move (int x, int y)
void move (int x, int y)
void moveCaretPosition (int position)
void nextFocus ()
void nextFocus ()
void paint (Graphics g)
void paintAll (Graphics g)
void paintAll (Graphics g)
void paintComponents (Graphics g)
void paintComponents (Graphics gc)
void paintImmediately (Rectangle r)
void paintImmediately (int x, int y, int w, int h)
void paste ()
void postActionEvent ()
boolean postEvent (Event e)
boolean postEvent (Event evt)
Dimension preferredSize ()
boolean prepareImage (Image image, int width, int height, ImageObserver observer)
boolean prepareImage (Image image, ImageObserver observer)
boolean prepareImage (Image image, int width, int height, ImageObserver obs)
boolean prepareImage (Image image, ImageObserver obs)
void print (Graphics g)
void printAll (Graphics g)
void printBorder (Graphics g)
void printChildren (Graphics g)
void printComponent (Graphics g)
void printComponents (Graphics g)
void printComponents (Graphics g)
void processContainerEvent (ContainerEvent event)
final void putClientProperty (Object key, Object value)
void read (Reader input, Object streamDescription) throws IOException
void registerKeyboardAction (ActionListener act, String cmd, KeyStroke stroke, int cond)
void registerKeyboardAction (ActionListener act, KeyStroke stroke, int cond)
void remove (MenuComponent mc)
void remove (Component comp)
void remove (int index)
void remove (int index)
void remove (Component c)
void removeActionListener (ActionListener listener)
void removeAll ()
void removeAll ()
void removeAncestorListener (AncestorListener listener)
void removeCaretListener (CaretListener listener)
synchronized void removeComponentListener (ComponentListener listener)
void removeComponentListener (ComponentListener client)
synchronized void removeContainerListener (ContainerListener listener)
void removeContainerListener (ContainerListener listener)
synchronized void removeFocusListener (FocusListener listener)
void removeFocusListener (FocusListener listener)
synchronized void removeHierarchyBoundsListener (HierarchyBoundsListener listener)
synchronized void removeHierarchyListener (HierarchyListener listener)
void removeInputMethodListener (InputMethodListener listener)
synchronized void removeKeyListener (KeyListener listener)
void removeKeyListener (KeyListener listener)
synchronized void removeMouseListener (MouseListener listener)
void removeMouseListener (MouseListener listener)
synchronized void removeMouseMotionListener (MouseMotionListener listener)
void removeMouseMotionListener (MouseMotionListener listener)
synchronized void removeMouseWheelListener (MouseWheelListener listener)
void removeNotify ()
void removePropertyChangeListener (String propertyName, PropertyChangeListener listener)
void removePropertyChangeListener (PropertyChangeListener listener)
void removeVetoableChangeListener (VetoableChangeListener listener)
void repaint (long ms)
void repaint (int x, int y, int width, int height)
void repaint ()
void repaint (Rectangle r)
void repaint (long tm, int x, int y, int width, int height)
synchronized void replaceSelection (String content)
boolean requestDefaultFocus ()
boolean requestFocus (boolean temporary)
void requestFocus ()
boolean requestFocusInWindow (boolean temporary)
boolean requestFocusInWindow ()
void resetKeyboardActions ()
void reshape (int x, int y, int w, int h)
void resize (Dimension d)
void resize (int width, int height)
void resize (int wNew, int hNew)
void resize (Dimension d)
void revalidate ()
void scrollRectToVisible (Rectangle r)
void select (int start, int end)
void selectAll ()
void setAction (Action newAction)
void setActionCommand (String command)
final void setActionMap (ActionMap map)
void setAlignmentX (float a)
void setAlignmentY (float a)
void setAutoscrolls (boolean a)
void setBackground (Color bg)
void setBorder (Border newBorder)
void setBounds (Rectangle r)
void setBounds (int x, int y, int w, int h)
void setBounds (int xNew, int yNew, int wNew, int hNew)
void setBounds (Rectangle r)
void setCaret (Caret newCaret)
void setCaretColor (Color newColor)
void setCaretPosition (int position)
void setColumns (int columns)
void setComponentOrientation (ComponentOrientation o)
void setCursor (Cursor cursor)
void setCursor (Cursor newCursor)
void setDebugGraphicsOptions (int debugOptions)
void setDisabledTextColor (Color newColor)
void setDocument (Document newDocument)
void setDoubleBuffered (boolean db)
void setDragEnabled (boolean enabled)
void setDropTarget (DropTarget dt)
void setEditable (boolean newValue)
void setEnabled (boolean enable)
void setFocusable (boolean focusable)
void setFocusAccelerator (char newKey)
void setFocusCycleRoot (boolean focusCycleRoot)
void setFocusLostBehavior (int behavior)
void setFocusTraversalKeys (int id, Set keystrokes)
void setFocusTraversalKeysEnabled (boolean focusTraversalKeysEnabled)
void setFocusTraversalPolicy (FocusTraversalPolicy policy)
void setFont (Font newFont)
void setForeground (Color fg)
void setFormatterFactory (AbstractFormatterFactory factory)
void setHighlighter (Highlighter newHighlighter)
void setHorizontalAlignment (int newAlign)
void setIgnoreRepaint (boolean ignoreRepaint)
final void setInputMap (int condition, InputMap map)
void setInputVerifier (InputVerifier verifier)
void setKeymap (Keymap k)
void setLayout (LayoutManager mgr)
void setLayout (LayoutManager newLayout)
void setLocale (Locale newLocale)
void setLocale (Locale loc)
void setLocation (Point p)
void setLocation (int x, int y)
void setLocation (int x, int y)
void setLocation (Point pt)
void setMargin (Insets m)
void setMaximumSize (Dimension max)
void setMinimumSize (Dimension min)
void setName (String name)
void setName (String newName)
void setNavigationFilter (NavigationFilter filter)
void setNextFocusableComponent (Component aComponent)
void setOpaque (boolean isOpaque)
void setPreferredSize (Dimension pref)
void setRequestFocusEnabled (boolean e)
void setScrollOffset (int offset)
void setSelectedTextColor (Color newColor)
void setSelectionColor (Color newColor)
void setSelectionEnd (int end)
void setSelectionStart (int start)
void setSize (Dimension d)
void setSize (int width, int height)
void setSize (int newWidth, int newHeight)
void setSize (Dimension dim)
void setText (String text)
void setToolTipText (String text)
void setTransferHandler (TransferHandler newHandler)
void setUI (TextUI newUI)
void setValue (Object newValue)
void setVerifyInputWhenFocusTarget (boolean verifyInputWhenFocusTarget)
void setVisible (boolean v)
void show (boolean b)
void show ()
Dimension size ()
Dimension size ()
String toString ()
String toString ()
void transferFocus ()
void transferFocus ()
void transferFocusBackward ()
void transferFocusDownCycle ()
void transferFocusUpCycle ()
void unregisterKeyboardAction (KeyStroke aKeyStroke)
void update (Graphics g)
void updateUI ()
void validate ()
void validate ()
int viewToModel (Point pt)
void write (Writer output) throws IOException

Static Public Member Functions

static Keymap addKeymap (String n, Keymap parent)
static Locale getDefaultLocale ()
static Keymap getKeymap (String n)
static boolean isLightweightComponent (Component c)
static void loadKeymap (Keymap map, JTextComponent.KeyBinding[] bindings, Action[] actions)
static Keymap removeKeymap (String n)
static void setDefaultLocale (Locale l)

Public Attributes

int ABORT = 128
int ALLBITS = 32
int BOTTOM = 3
int EAST = 3
int ERROR = 64
int FRAMEBITS = 16
int HEIGHT = 2
int HORIZONTAL = 0
int LEADING = 10
int LEFT = 2
int NEXT = 12
int NORTH = 1
int NORTH_EAST = 2
int NORTH_WEST = 8
int PREVIOUS = 13
int PROPERTIES = 4
int RIGHT = 4
int SOMEBITS = 8
int SOUTH = 5
int SOUTH_EAST = 4
int SOUTH_WEST = 6
int TOP = 1
int TRAILING = 11
int VERTICAL = 1
int WEST = 7

Static Public Attributes

static final float BOTTOM_ALIGNMENT = 1
final static float BOTTOM_ALIGNMENT = 1.0f
static final float CENTER_ALIGNMENT = 0.5f
final static float CENTER_ALIGNMENT = 0.5f
static final int COMMIT = 0
static final int COMMIT_OR_REVERT = 1
static final String DEFAULT_KEYMAP = "default"
static final String FOCUS_ACCELERATOR_KEY = "focusAcceleratorKey"
static final float LEFT_ALIGNMENT = 0
final static float LEFT_ALIGNMENT = 0.0f
static final String notifyAction = "notify-field-accept"
static final int PERSIST = 3
static final int REVERT = 2
static final float RIGHT_ALIGNMENT = 1
final static float RIGHT_ALIGNMENT = 1.0f
static final String TOOL_TIP_TEXT_KEY = "ToolTipText"
static final float TOP_ALIGNMENT = 0
final static float TOP_ALIGNMENT = 0.0f
static final int UNDEFINED_CONDITION = -1
static final int WHEN_ANCESTOR_OF_FOCUSED_COMPONENT = 1
static final int WHEN_FOCUSED = 0
static final int WHEN_IN_FOCUSED_WINDOW = 2

Protected Member Functions

void addImpl (Component comp, Object constraints, int index)
void addImpl (Component child, Object constraints, int index)
AWTEvent coalesceEvents (AWTEvent existingEvent, AWTEvent newEvent)
void configurePropertiesFromAction (Action action)
PropertyChangeListener createActionPropertyChangeListener (Action action)
Document createDefaultModel ()
final void disableEvents (long eventsToDisable)
final void enableEvents (long eventsToEnable)
void fireActionPerformed ()
void fireCaretUpdate (CaretEvent event)
void firePropertyChange (String propertyName, Object oldValue, Object newValue)
void fireVetoableChange (String propertyName, Object oldValue, Object newValue) throws PropertyVetoException
int getColumnWidth ()
Graphics getComponentGraphics (Graphics g)
void invalidEdit ()
void paintBorder (Graphics g)
void paintChildren (Graphics g)
void paintComponent (Graphics g)
String paramString ()
void processActionEvent (ActionEvent e)
void processAdjustmentEvent (AdjustmentEvent e)
void processComponentEvent (ComponentEvent e)
void processComponentEvent (ComponentEvent event)
void processComponentKeyEvent (KeyEvent e)
void processContainerEvent (ContainerEvent e)
void processEvent (AWTEvent e)
void processFocusEvent (FocusEvent evt)
void processHierarchyBoundsEvent (HierarchyEvent e)
void processHierarchyEvent (HierarchyEvent e)
void processInputMethodEvent (InputMethodEvent e)
void processItemEvent (ItemEvent e)
boolean processKeyBinding (KeyStroke ks, KeyEvent e, int condition, boolean pressed)
void processKeyEvent (KeyEvent e)
void processMouseEvent (MouseEvent e)
void processMouseEvent (MouseEvent event)
void processMouseMotionEvent (MouseEvent ev)
void processMouseWheelEvent (MouseWheelEvent e)
void processTextEvent (TextEvent e)
void processWindowEvent (WindowEvent e)
void setFormatter (AbstractFormatter formatter)
void setUI (ComponentUI newUI)
void swapComponents (int i, int j)
void validateTree ()
void validateTree ()

Protected Attributes

AccessibleContext accessibleContext
EventListenerList listenerList = new EventListenerList()
ComponentUI ui

Package Functions

void checkMouseAware ()
void cleanUpNative ()
Graphics clipSiblings (Component child, NativeGraphics g)
AbstractFormatterFactory createFormatterFactory (Object value)
void createNative ()
void destroyNative ()
void dispatchEventImpl (AWTEvent e)
void dump (String prefix)
void emitRepaints (int ux, int uy, int uw, int uh)
boolean eventTypeEnabled (int eventId)
Component findComponentForMouseEventAt (int x, int y)
Component findNextFocusComponent (Component child)
void fireAncestorEvent (JComponent ancestor, int id)
String generateName ()
ClassProperties getClassProperties ()
GraphicsConfiguration getGraphicsConfigurationImpl ()
Pointer getNativeData ()
Component getToplevel ()
boolean hasDirties ()
boolean intersects (int u, int v, int w, int h)
boolean intersects (Rectangle r)
boolean intersects (Component c)
void invalidateTree ()
void kaffePaintBorder (Graphics g, int left, int top, int right, int bottom)
void kaffePaintBorder (Graphics g)
void kaffePaintBorder ()
synchronized void linkGraphics (NativeGraphics g)
void markRepaints (int ux, int uy, int uw, int uh)
void paintDoubleBuffered (Graphics g)
void paintImmediately2 (Rectangle r)
void paintSimple (Graphics g)
void process (WindowEvent e)
void process (TextEvent e)
void process (KeyEvent e)
void process (ItemEvent e)
void process (FocusEvent e)
void process (ComponentEvent e)
void process (AdjustmentEvent e)
void process (ActionEvent e)
void process (ContainerEvent e)
void processMotion (MouseEvent e)
void processMouse (MouseEvent e)
void processPaintEvent (int id, int ux, int uy, int uw, int uh)
void propagateBgClr (Color clr)
void propagateFgClr (Color clr)
void propagateFont (Font fnt)
void propagateParentShowing (boolean isTemporary)
void propagateReshape ()
void propagateTempEnabled (boolean isEnabled)
void setNativeCursor (Cursor cursor)
final void setPeer (ComponentPeer peer)
PopupMenu triggerPopup (int x, int y)
synchronized void unlinkGraphics (NativeGraphics g)
void updateComponentInputMap (ComponentInputMap changed)
synchronized void updateLinkedGraphics ()

Static Package Functions

 [static initializer]
static Event translateEvent (AWTEvent e)

Package Attributes

float alignmentX = -1.0F
float alignmentY = -1.0F
boolean autoscrolls = false
Color background
Color bgClr
Border border
transient BufferStrategy bufferStrategy
Caret caret
int CENTER = 0
Component[] children
ComponentListener cmpListener
ContainerListener cntrListener
Component[] component
transient ComponentListener componentListener
int componentSerializedDataVersion = 4
transient ContainerListener containerListener
int containerSerializedDataVersion
Cursor cursor
int debugGraphicsOptions
Rectangle deco = noDeco
LightweightDispatcher dispatcher
Document doc
boolean doubleBuffered = true
DropTarget dropTarget
boolean editable
boolean editValid = true
boolean enabled = true
long eventMask = AWTEvent.INPUT_ENABLED_EVENT_MASK
int eventMask
Color fgClr
int flags = IS_VISIBLE
boolean focusable = true
boolean focusCycleRoot
transient FocusListener focusListener
FocusListener focusListener
transient Set[] focusTraversalKeys
boolean focusTraversalKeysEnabled = true
Font font
Color foreground
transient GraphicsConfiguration graphicsConfig
int height
transient HierarchyBoundsListener hierarchyBoundsListener
transient HierarchyListener hierarchyListener
boolean ignoreRepaint
transient InputMethodListener inputMethodListener
Insets insets = Insets.noInsets
boolean isCompletelyDirty = false
int isFocusTraversableOverridden
boolean isPacked
transient KeyListener keyListener
KeyListener keyListener
LayoutManager layoutm
LayoutManager layoutMgr
GraphicsLink linkedGraphs
Locale locale = Locale.getDefault ()
Dimension maximumSize
Dimension maxSize
Dimension minimumSize
Dimension minSize
MouseMotionListener motionListener
transient MouseListener mouseListener
MouseListener mouseListener
transient MouseMotionListener mouseMotionListener
transient MouseWheelListener mouseWheelListener
String name
boolean nameExplicitlySet
int nChildren
int ncomponents
boolean newEventsOnly
boolean opaque = false
transient ComponentOrientation orientation = ComponentOrientation.UNKNOWN
transient Container parent
Container parent
transient ComponentPeer peer
Font peerFont
PopupMenu popup
Vector popups
Dimension preferredSize
Dimension prefSize
boolean requestFocusEnabled
String toolTipText
boolean valid
boolean visible = true
int WIDTH = 1
int width
int x
int y

Static Package Attributes

static final int BORDER_WIDTH = 2
static final int IS_ADD_NOTIFIED = 0x400
static final int IS_ASYNC_UPDATED = 0x4000
static final int IS_BG_COLORED = 0x1000
static final int IS_DIRTY = 0x8000
static final int IS_FG_COLORED = 0x800
static final int IS_FONTIFIED = 0x2000
static final int IS_IN_UPDATE = 0x10
static final int IS_LAYOUTING = 0x08
static final int IS_MODAL = 0x80
static final int IS_MOUSE_AWARE = 0x10000
static final int IS_NATIVE_LIKE = 0x100
static final int IS_OLD_EVENT = 0x20
static final int IS_OPENED = 0x200
static final int IS_PARENT_SHOWING = 0x04
static final int IS_RESIZABLE = 0x40
static final int IS_SHOWING = IS_ADD_NOTIFIED | IS_PARENT_SHOWING | IS_VISIBLE
static final int IS_TEMP_HIDDEN = 0x20000
static final int IS_VALID = 0x02
static final int IS_VISIBLE = 0x01
static boolean isPaintingDoubleBuffered = false
static Rectangle noDeco = new Rectangle()
static final Object treeLock = new String("AWT_TREE_LOCK")
static Object treeLock = new TreeLock()

Private Member Functions

AbstractFormatterFactory getAppropriateFormatterFactory (Format format)

Private Attributes

int focusLostBehavior = COMMIT_OR_REVERT
AbstractFormatter formatter
AbstractFormatterFactory formatterFactory
Object value

Static Private Attributes

static final long serialVersionUID = 5464657870110180632L

Classes

class  AbstractFormatter
class  AbstractFormatterFactory

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index