public class TimeField extends IosTextField
IoSTextField
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
DEFAULT_LENGTH
Input-Field-Size in Columns.
|
static java.lang.String |
TIME_CHARSET
Limited Character-Set of this Field.
|
defaultAutoSelection, fastSetText, restoreCaretPosition, restoreCaretTested
Constructor and Description |
---|
TimeField()
Constructor.
|
TimeField(boolean _autoFormat,
boolean _keepFocus)
Constructor defining the auto-formating and illegal-value-focus-keeping.
|
TimeField(int cols)
Constructors of TimeField
|
TimeField(int cols,
boolean _autoFormat,
boolean _keepFocus)
Constructor defining the auto-formating and illegal-value-focus-keeping.
|
Modifier and Type | Method and Description |
---|---|
boolean |
formatValue()
Format the Value (automatically called on lostFocus, manually called on getValue/Date()).
|
java.util.Date |
getTime()
Get the Time.
|
java.util.Date |
getValue(java.util.Date time)
Get the Value (Time).
|
void |
setTime(java.util.Date time)
Set the Time.
|
void |
setValue(java.util.Date time)
Set the Value (Time).
|
addActionListener, focusGained, focusLost, getCharSet, getFormatedText, getInfoText, getNullText, getText, isDisableLocked, keyPressed, keyReleased, keyTyped, lockDisable, manuallyHandle, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, setAutoFormat, setAutoSelection, setCharSet, setEnabled, setInfoText, setKeepFocusOnIllegalValue, setText, syncGetText, textValueChanged, unlockDisabled
addNotify, echoCharIsSet, getAccessibleContext, getActionListeners, getColumns, getEchoChar, getListeners, getMinimumSize, getMinimumSize, getPreferredSize, getPreferredSize, minimumSize, minimumSize, preferredSize, preferredSize, removeActionListener, setColumns, setEchoChar, setEchoCharacter
addTextListener, enableInputMethods, getBackground, getCaretPosition, getInputMethodRequests, getSelectedText, getSelectionEnd, getSelectionStart, getTextListeners, isEditable, removeNotify, removeTextListener, select, selectAll, setBackground, setCaretPosition, setEditable, setSelectionEnd, setSelectionStart
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, dispatchEvent, doLayout, enable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, 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, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, resize, resize, revalidate, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, update, validate
public static final int DEFAULT_LENGTH
public static final java.lang.String TIME_CHARSET
public TimeField()
public TimeField(int cols)
public TimeField(boolean _autoFormat, boolean _keepFocus)
public TimeField(int cols, boolean _autoFormat, boolean _keepFocus)
public void setValue(java.util.Date time)
public java.util.Date getValue(java.util.Date time)
public void setTime(java.util.Date time)
public java.util.Date getTime()
public boolean formatValue()
formatValue
in class IosTextField