|
ElegantJ Data Entry Masks Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Canvas
com.elegantj.util.timemask.TimeMask
TimeMask provides the mask for the time also allowed the facility of the spin
| Nested Class Summary |
| Nested classes inherited from class java.awt.Canvas |
java.awt.Canvas.AccessibleAWTCanvas |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
com.elegantj.editors.C1 |
c1
|
static java.lang.String |
hh_mm_ss
The mask pattern - hh_mm_ss |
static java.lang.String |
HH_MM_SS
The mask pattern - HH_MM_SS |
protected java.awt.Dimension |
m_preferredSize
Holds the preferred size of the compoennt |
| 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 | |
TimeMask()
Default constructor of the TimeMask |
|
| Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Adds the property change listener |
void |
clear()
Clears the contents of the mask |
void |
firePropertyChange(java.lang.String property,
java.lang.Object oldValue,
java.lang.Object newValue)
Fires the property change |
AWTBorder |
getBorder()
Method which returns the border of the TimeMask |
java.awt.Color |
getCaretColor()
Returns the caret color of the time mask |
java.lang.String |
getLicenseKey()
Returns the license key of the bean |
java.util.Locale |
getLocale()
Method which returns the locale of the TimeMask |
java.lang.String |
getMaskPattern()
Returns the current mask pattern of the time mask |
java.lang.String |
getMaskText()
Returns the string currently containing by the mask |
java.awt.Dimension |
getMinimumSize()
Method which returns The minimum size of the TimeMask |
java.awt.Dimension |
getPreferredSize()
Returns the preferredSize of the component |
char |
getSeparatorChar()
Returns the separator char for the time mask |
boolean |
isFocusTraversable()
Overriden is focus traversable |
boolean |
isSpinAllowed()
Returns the value of the wheather spin allowed or not |
void |
paint(java.awt.Graphics g)
Overriden paint method |
protected void |
processFocusEvent(java.awt.event.FocusEvent e)
Overriden process focus event |
protected void |
processKeyEvent(java.awt.event.KeyEvent e)
Overriden process key event |
void |
readExternal(java.io.ObjectInput in)
Implementation of the Externalizable |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes the property change listener |
void |
setBackground(java.awt.Color background)
Method which sets the background color for the TimeMask |
void |
setBorder(AWTBorder awtBorder)
Method which sets the border for the TimeMask |
void |
setBounds(int x,
int y,
int width,
int height)
Method which sets the bounds of the TimeMask |
void |
setCaretColor(java.awt.Color caretColor)
Sets the caret color for the time mask |
void |
setCursor(java.awt.Cursor cursor)
Method which sets the cursor for the TimeMask |
void |
setEnabled(boolean bEnabled)
Method which sets the enability of the TimeMask |
void |
setFont(java.awt.Font font)
Method which sets the font for the TimeMask |
void |
setForeground(java.awt.Color foreground)
Method which sets the foreground color for the TimeMask |
void |
setLicenseKey(java.lang.String licenseKey)
Methods which sets the license key |
void |
setLocale(java.util.Locale locale)
Method which sets the locale for the TimeMask |
void |
setMaskPattern(java.lang.String maskPattern)
Sets the mask pattern for the time mask |
void |
setMaskText(java.lang.String maskText)
Sets the string for the mask |
void |
setPreferredSize(java.awt.Dimension preferredSize)
Sets the preferredSize of the component |
void |
setSeparatorChar(char separatorChar)
Sets the separator char for the time mask |
void |
setSpinAllowed(boolean spinAllowed)
Sets the value of the wheather spin allowed or not |
void |
setVisible(boolean bVisible)
Method which sets the visibility for the TimeMask |
void |
update(java.awt.Graphics g)
Overriden the update method |
void |
writeExternal(java.io.ObjectOutput out)
Implementation of the Externalizable |
| Methods inherited from class java.awt.Canvas |
addNotify, createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMouseListeners, getMouseMotionListeners, 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, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBounds, setComponentOrientation, setDropTarget, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static java.lang.String hh_mm_ss
public static java.lang.String HH_MM_SS
public transient com.elegantj.editors.C1 c1
protected java.awt.Dimension m_preferredSize
| Constructor Detail |
public TimeMask()
| Method Detail |
public void update(java.awt.Graphics g)
public void paint(java.awt.Graphics g)
protected void processKeyEvent(java.awt.event.KeyEvent e)
protected void processFocusEvent(java.awt.event.FocusEvent e)
public void setMaskText(java.lang.String maskText)
public java.lang.String getMaskText()
public void clear()
public void setMaskPattern(java.lang.String maskPattern)
hh_mm_ss, HH_MM_SSpublic java.lang.String getMaskPattern()
public void setSeparatorChar(char separatorChar)
separatorChar - The separator char for the time maskpublic char getSeparatorChar()
public void setSpinAllowed(boolean spinAllowed)
spinAllowed - The value of the wheather spin allowed or notpublic boolean isSpinAllowed()
public void setCaretColor(java.awt.Color caretColor)
caretColor - The caret color for the time maskpublic java.awt.Color getCaretColor()
public void setFont(java.awt.Font font)
font - The font for the TimeMaskpublic void setBackground(java.awt.Color background)
background - The background color for the TimeMaskpublic void setForeground(java.awt.Color foreground)
foreground - The foreground color for the TimeMaskpublic void setBorder(AWTBorder awtBorder)
awtBorder - the border for the TimeMaskpublic AWTBorder getBorder()
public void setVisible(boolean bVisible)
bVisible - the visibility for the TimeMaskpublic void setEnabled(boolean bEnabled)
bEnabled - the enability of the TimeMaskpublic void setLocale(java.util.Locale locale)
locale - The locale for the TimeMaskpublic java.util.Locale getLocale()
public void setCursor(java.awt.Cursor cursor)
cursor - The cursor for the TimeMask
public void setBounds(int x,
int y,
int width,
int height)
x - The x coordinate of the TimeMasky - The y coordinate of the TimeMaskwidth - The width of the of the TimeMaskheight - The height of the TimeMaskpublic void setPreferredSize(java.awt.Dimension preferredSize)
preferredSize - The preferredSize for the componentpublic java.awt.Dimension getPreferredSize()
public void setLicenseKey(java.lang.String licenseKey)
public java.lang.String getLicenseKey()
public java.awt.Dimension getMinimumSize()
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
l - The property change listenerpublic void removePropertyChangeListener(java.beans.PropertyChangeListener l)
l - The property change listener
public void firePropertyChange(java.lang.String property,
java.lang.Object oldValue,
java.lang.Object newValue)
property - The name of the propertyoldValue - The old valuenewValue - The new valuepublic boolean isFocusTraversable()
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException,
java.awt.IllegalComponentStateException
writeExternal in interface java.io.Externalizablejava.io.IOException
java.awt.IllegalComponentStateException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundException
|
ElegantJ Data Entry Masks Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||