swingwt.awt
Class TextField

java.lang.Object
  extended byswingwt.awt.Component
      extended byswingwt.awt.AWTSwingWrapper
          extended byswingwt.awt.TextComponent
              extended byswingwt.awt.TextField
All Implemented Interfaces:
ImageObserver, MenuContainer

public class TextField
extends TextComponent


Field Summary
 
Fields inherited from class swingwt.awt.AWTSwingWrapper
swingPeer
 
Fields inherited from class swingwt.awt.Component
accessibleContext, actionCommand, actionListeners, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, componentListeners, componentName, consumeAvailableHeight, consumeAvailableWidth, focusable, focusListeners, graphicsConfig, inputMethodListeners, isUserSetFont, keyListeners, layoutModifier, LEFT_ALIGNMENT, LOCK, mouseListeners, mouseMotionListeners, mouseWheelListeners, parent, pBackground, pCursor, pDoubleBuffered, peer, pEnabled, pFont, pForeground, pLayoutData, pLocation, pMaxSize, pMinSize, ppeer, pPrefSize, pSize, pToolTipText, pVisible, RIGHT_ALIGNMENT, swingWTDefaultActionEventAdapter, swingWTEventAdapter, TOP_ALIGNMENT
 
Fields inherited from interface swingwt.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
TextField()
           
TextField(int columns)
           
TextField(java.lang.String text)
           
TextField(java.lang.String text, int columns)
           
 
Method Summary
 boolean echoCharIsSet()
          TODO: Echo chars not currently supported as they don't map to JTextField.
 int getColumns()
           
 char getEchoChar()
           
 Dimension getMinimumSize(int columns)
           
 Dimension getPreferredSize(int columns)
           
 Dimension minimumSize(int columns)
           
 Dimension preferredSize(int columns)
           
 void setColumns(int columns)
           
 void setEchoChar(char c)
           
 void setEchoCharacter(char c)
           
 
Methods inherited from class swingwt.awt.TextComponent
addTextListener, getCaretPosition, getListeners, getText, getTextListeners, isEditable, removeTextListener, select, selectAll, setCaretPosition, setEditable, setSelectionEnd, setSelectionStart, setText
 
Methods inherited from class swingwt.awt.AWTSwingWrapper
addActionListener, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addNotify, calculatePreferredSize, componentOnlyDispose, computePreferredSize, contains, createImage, createVolatileImage, dispatchEvent, dispose, getAccessibleContext, getActionCommand, getAlignmentX, getAlignmentY, getBackground, getBounds, getComponentOrientation, getCursor, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPeer, getPeerSize, getPreferredSize, getSize, getSWTPeer, getToolkit, getToolTipText, getTreeLock, getWidth, getX, getY, grabFocus, hasFocus, hasSetFont, hide, imageUpdate, invalidate, isEnabled, isFocusable, isMinimumSizeSet, isShowing, isVisible, minimumSize, preferredSize, removeActionListener, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, repaint, repaint, repaint, requestFocus, setActionCommand, setAlignmentX, setAlignmentY, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setFont, setForeground, setHeight, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setSwingWTParent, setToolTipText, setVisible, setWidth, show, transferFocus, transferFocusBackward, transferFocusUpCycle, validate
 
Methods inherited from class swingwt.awt.Component
add, addMouseWheelListener, contains, createListenerArrayFromVector, getSize, inside, paint, paintComponent, processActionEvent, processComponentEvent, processFocusEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, processTraverseEvent, registerActionEvents, registerComponentEvents, registerEvents, registerExtendedModifyEvents, registerFocusEvents, registerKeyEvents, registerModifyEvents, registerMouseEvents, registerPaintEvents, registerTraversalEvents, remove, removeMouseWheelListener, setCachedProperties, setComponentRemoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextField

public TextField()

TextField

public TextField(int columns)

TextField

public TextField(java.lang.String text)

TextField

public TextField(java.lang.String text,
                 int columns)
Method Detail

getColumns

public int getColumns()

setColumns

public void setColumns(int columns)

echoCharIsSet

public boolean echoCharIsSet()
TODO: Echo chars not currently supported as they don't map to JTextField. Was removed in favor of the separate JPasswordField component.


setEchoChar

public void setEchoChar(char c)

getEchoChar

public char getEchoChar()

setEchoCharacter

public void setEchoCharacter(char c)

getMinimumSize

public Dimension getMinimumSize(int columns)

getPreferredSize

public Dimension getPreferredSize(int columns)

minimumSize

public Dimension minimumSize(int columns)

preferredSize

public Dimension preferredSize(int columns)