This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
java.awt.peer
interface TextFieldPeer
- All Superinterfaces:
- ComponentPeer, TextComponentPeer
public interface TextFieldPeer
extends TextComponentPeer
The peer interfaces are intended only for use in porting
the AWT. They are not intended for use by application
developers, and developers should not implement peers
nor invoke any of the peer methods directly on the peer
instances.
Method Summary |
Dimension |
|
Dimension |
|
Dimension |
DEPRECATED: Replaced by getMinimumSize(int).
|
Dimension |
DEPRECATED: Replaced by getPreferredSize(int).
|
void |
|
void |
DEPRECATED: Replaced by setEchoChar(char echoChar).
|
Methods inherited from class java.awt.peer.TextComponentPeer |
filterEvents, getCaretPosition, getCharacterBounds, getIndexAtPoint, getInputMethodRequests, getSelectionEnd, getSelectionStart, getText, select, setCaretPosition, setEditable, setText |
Methods inherited from class java.awt.peer.ComponentPeer |
canDetermineObscurity, checkImage, coalescePaintEvent, createBuffers, createImage, createImage, createVolatileImage, destroyBuffers, disable, dispose, enable, flip, getBackBuffer, getBounds, getColorModel, getFontMetrics, getGraphics, getGraphicsConfiguration, getLocationOnScreen, getMinimumSize, getPreferredSize, getToolkit, handleEvent, handlesWheelScrolling, hide, isFocusable, isObscured, isReparentSupported, layout, minimumSize, paint, preferredSize, prepareImage, print, repaint, reparent, requestFocus, reshape, setBackground, setBounds, setEnabled, setFont, setForeground, setVisible, show, updateCursorImmediately |
getMinimumSize
public Dimension getMinimumSize(int columns)
-
- Parameters:
columns
getPreferredSize
public Dimension getPreferredSize(int columns)
-
- Parameters:
columns
minimumSize
public Dimension minimumSize(int cols)
-
DEPRECATED: Replaced by getMinimumSize(int).
- Parameters:
cols
preferredSize
public Dimension preferredSize(int cols)
-
DEPRECATED: Replaced by getPreferredSize(int).
- Parameters:
cols
setEchoChar
public void setEchoChar(char echoChar)
-
- Parameters:
echoChar
setEchoCharacter
public void setEchoCharacter(char c)
-
DEPRECATED: Replaced by setEchoChar(char echoChar).
- Parameters:
c
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.