|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.TextComponent
java.awt.TextField
com.irisel.swing.IosTextField
com.irisel.swing.TimeField
public class TimeField
Input-Field for Times.
IoSTextField
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.BaselineResizeBehavior |
Field Summary | |
---|---|
static int |
DEFAULT_LENGTH
Input-Field-Size in Columns. |
static java.lang.String |
TIME_CHARSET
Limited Character-Set of this Field. |
Fields inherited from class com.irisel.swing.IosTextField |
---|
defaultAutoSelection, fastSetText, restoreCaretPosition, restoreCaretTested |
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 | |
---|---|
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. |
Method Summary | |
---|---|
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). |
Methods inherited from class com.irisel.swing.IosTextField |
---|
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 |
Methods inherited from class java.awt.TextField |
---|
addNotify, echoCharIsSet, getAccessibleContext, getActionListeners, getColumns, getEchoChar, getListeners, getMinimumSize, getMinimumSize, getPreferredSize, getPreferredSize, minimumSize, minimumSize, preferredSize, preferredSize, removeActionListener, setColumns, setEchoChar, setEchoCharacter |
Methods inherited from class java.awt.TextComponent |
---|
addTextListener, enableInputMethods, getBackground, getCaretPosition, getInputMethodRequests, getSelectedText, getSelectionEnd, getSelectionStart, getTextListeners, isEditable, 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, 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, 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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_LENGTH
public static final java.lang.String TIME_CHARSET
Constructor Detail |
---|
public TimeField()
public TimeField(int cols)
public TimeField(boolean _autoFormat, boolean _keepFocus)
public TimeField(int cols, boolean _autoFormat, boolean _keepFocus)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |