|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.TextComponent | +--java.awt.TextField | +--sat.awt.TextFieldSAT
Inner classes inherited from class java.awt.TextField |
java.awt.TextField.AccessibleAWTTextField |
Inner classes inherited from class java.awt.TextComponent |
java.awt.TextComponent.AccessibleAWTTextComponent |
Inner classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent |
Field Summary | |
protected char[] |
CHAR_VALUES
|
protected int |
MAX_SIZE
|
Fields inherited from class java.awt.TextComponent |
textListener |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
TextFieldSAT()
Construye un nuevo TextFieldSAT. |
|
TextFieldSAT(char[] CHAR_VALUES,
int MAX_SIZE)
Construye un nuevo TextFieldSAT. |
Method Summary | |
void |
focusGained(java.awt.event.FocusEvent Ev)
Se invoca cuando se ha ganado el foco. |
void |
focusLost(java.awt.event.FocusEvent Ev)
Se invoca cuando se ha perdido el foco. |
char[] |
getCharValues()
Obtener el arreglo de caracteres permitidos para el texto. |
int |
getMaxSize()
Obtener el tamaño máximo del texto. |
void |
keyPressed(java.awt.event.KeyEvent Ev)
Se invoca cuando se ha pulsado una tecla. |
void |
keyReleased(java.awt.event.KeyEvent Ev)
|
void |
keyTyped(java.awt.event.KeyEvent Ev)
|
void |
mouseClicked(java.awt.event.MouseEvent Ev)
|
void |
mouseEntered(java.awt.event.MouseEvent Ev)
|
void |
mouseExited(java.awt.event.MouseEvent Ev)
|
void |
mousePressed(java.awt.event.MouseEvent Ev)
|
void |
mouseReleased(java.awt.event.MouseEvent Ev)
Se invoca cuando se ha soltado un botón del ratón. |
void |
setCharValues(char[] CHAR_VALUES)
Seleccionar el arreglo de caracteres permitidos para el texto. |
void |
setEnabled(boolean ENABLED)
Habilita o deshabilita el TextFieldSAT. |
void |
setMaxSize(int MAX_SIZE)
Seleccionar el tamaño máximo del texto. |
Methods inherited from class java.awt.TextField |
addActionListener, addNotify, echoCharIsSet, getAccessibleContext, getColumns, getEchoChar, getListeners, getMinimumSize, getMinimumSize, getPreferredSize, getPreferredSize, minimumSize, minimumSize, paramString, preferredSize, preferredSize, processActionEvent, processEvent, removeActionListener, setColumns, setEchoChar, setEchoCharacter, setText |
Methods inherited from class java.awt.TextComponent |
addTextListener, enableInputMethods, getBackground, getCaretPosition, getSelectedText, getSelectionEnd, getSelectionStart, getText, isEditable, processTextEvent, removeNotify, removeTextListener, select, selectAll, setBackground, setCaretPosition, setEditable, setSelectionEnd, setSelectionStart |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, firePropertyChange, getAlignmentX, getAlignmentY, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getName, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paint, paintAll, postEvent, prepareImage, prepareImage, print, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, update, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected char[] CHAR_VALUES
protected int MAX_SIZE
Constructor Detail |
public TextFieldSAT()
public TextFieldSAT(char[] CHAR_VALUES, int MAX_SIZE)
CHAR_VALUES
- Arreglo de caracteres permitidos para el texto.MAX_SIZE
- Tamaño máximo del texto.Method Detail |
public void focusGained(java.awt.event.FocusEvent Ev)
focusGained
in interface java.awt.event.FocusListener
public void focusLost(java.awt.event.FocusEvent Ev)
focusLost
in interface java.awt.event.FocusListener
public char[] getCharValues()
public int getMaxSize()
public void keyPressed(java.awt.event.KeyEvent Ev)
keyPressed
in interface java.awt.event.KeyListener
public void keyReleased(java.awt.event.KeyEvent Ev)
keyReleased
in interface java.awt.event.KeyListener
public void keyTyped(java.awt.event.KeyEvent Ev)
keyTyped
in interface java.awt.event.KeyListener
public void mouseClicked(java.awt.event.MouseEvent Ev)
mouseClicked
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent Ev)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent Ev)
mouseExited
in interface java.awt.event.MouseListener
public void mousePressed(java.awt.event.MouseEvent Ev)
mousePressed
in interface java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent Ev)
mouseReleased
in interface java.awt.event.MouseListener
public void setCharValues(char[] CHAR_VALUES)
CHAR_VALUES
- Arreglo de caracteres permitidos para el texto.public void setEnabled(boolean ENABLED)
setEnabled
in class java.awt.Component
ENABLED
- Un boolean que indica si se habilita o deshabilita el TextFieldSAT.public void setMaxSize(int MAX_SIZE)
MAX_SIZE
- Tamaño máximo del texto.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |