|
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.Container
java.awt.Panel
com.elegantj.util.datebox.Datebox
| Nested Class Summary |
| Nested classes inherited from class java.awt.Panel |
java.awt.Panel.AccessibleAWTPanel |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| 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 int |
DDMMYY
DDMMYY - static int for the date format of the datebox |
static int |
DDMMYYYY
DDMMYYYY - static int for the date format of the datebox |
protected java.awt.Dimension |
m_preferredSize
Holds the preferred size of the compoennt |
static int |
MMDDYY
MMDDYY - static int for the date format of the datebox |
static int |
MMDDYYYY
MMDDYYYY - static int for the date format of the datebox |
| 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 | |
Datebox()
Constructs the Datebox |
|
| Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Adds the property change listener |
void |
firePropertyChange(java.lang.String property,
java.lang.Object oldValue,
java.lang.Object newValue)
Fires the property change |
java.awt.Color |
getArrowBackground()
Method which Returns the background of the arrow button |
java.awt.Color |
getArrowForeground()
Method which Returns the foreground of the arrow button |
ExtCalendar |
getCalendar()
Returns the calendar for this component |
int |
getDateFormat()
Returns the date format of the Datebox |
java.lang.String |
getLicenseKey()
Returns the license key of the bean |
java.util.Locale |
getLocale()
Method which returns the locale of the Datebox |
java.awt.Dimension |
getMinimumSize()
Returns the minimum size |
java.awt.Dimension |
getPopupSize()
Returns the popup size of the popup calendar |
java.awt.Dimension |
getPreferredSize()
Returns the preferredSize of the component |
char |
getSeparatorChar()
Returns the separator char of the date |
java.lang.String |
getText()
Returns the text of the Datebox |
void |
keyPressed(java.awt.event.KeyEvent e)
Implementation of key listener |
void |
keyReleased(java.awt.event.KeyEvent e)
Implementation of key listener |
void |
keyTyped(java.awt.event.KeyEvent e)
Implementation of key listener |
void |
mouseClicked(java.awt.event.MouseEvent e)
|
void |
mouseEntered(java.awt.event.MouseEvent e)
|
void |
mouseExited(java.awt.event.MouseEvent e)
|
void |
mousePressed(java.awt.event.MouseEvent e)
Implementation of the ActionListener |
void |
mouseReleased(java.awt.event.MouseEvent e)
|
void |
readExternal(java.io.ObjectInput in)
Implementation of the Externalizable |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes the property change listener |
void |
setArrowBackground(java.awt.Color background)
Method which Sets the background of the arrow button |
void |
setArrowForeground(java.awt.Color foreground)
Method which Sets the foreground of the arrow button |
void |
setBackground(java.awt.Color background)
Method which sets the background color for the Datebox |
void |
setBounds(int x,
int y,
int width,
int height)
Method which sets the bounds of the Datebox |
void |
setCursor(java.awt.Cursor cursor)
Method which sets the cursor for the Datebox |
void |
setDateFormat(int dateFormat)
Sets the date format for the Datebox |
void |
setEnabled(boolean bEnabled)
Method which sets the enability of the Datebox |
void |
setFont(java.awt.Font font)
Method which sets the font for the Datebox |
void |
setForeground(java.awt.Color foreground)
Method which sets the foreground color for the Datebox |
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 Datebox |
void |
setPopupSize(java.awt.Dimension popupSize)
Sets the popup size of the popup calendar |
void |
setPreferredSize(java.awt.Dimension preferredSize)
Sets the preferredSize of the component |
void |
setSeparatorChar(char separatorChar)
Sets the separator char for the date |
void |
setText(java.lang.String text)
Sets the text for the Datebox |
void |
setVisible(boolean bVisible)
Method which sets the visibility for the Datebox |
void |
showCalendar(boolean show)
Method which displays the calendar of DateBox |
void |
windowActivated(java.awt.event.WindowEvent e)
|
void |
windowClosed(java.awt.event.WindowEvent e)
|
void |
windowClosing(java.awt.event.WindowEvent e)
|
void |
windowDeactivated(java.awt.event.WindowEvent e)
|
void |
windowDeiconified(java.awt.event.WindowEvent e)
|
void |
windowIconified(java.awt.event.WindowEvent e)
|
void |
windowOpened(java.awt.event.WindowEvent e)
|
void |
writeExternal(java.io.ObjectOutput out)
Implementation of the Externalizable |
| Methods inherited from class java.awt.Panel |
addNotify, getAccessibleContext |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBounds, setComponentOrientation, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int DDMMYYYY
public static final int MMDDYYYY
public static final int DDMMYY
public static final int MMDDYY
public transient com.elegantj.editors.C1 c1
protected java.awt.Dimension m_preferredSize
| Constructor Detail |
public Datebox()
| Method Detail |
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed in interface java.awt.event.KeyListenerpublic void keyTyped(java.awt.event.KeyEvent e)
keyTyped in interface java.awt.event.KeyListenerpublic void keyReleased(java.awt.event.KeyEvent e)
keyReleased in interface java.awt.event.KeyListenerpublic void showCalendar(boolean show)
show - Whether show or hide the calendarpublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenerpublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited in interface java.awt.event.MouseListenerpublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered in interface java.awt.event.MouseListenerpublic void windowActivated(java.awt.event.WindowEvent e)
windowActivated in interface java.awt.event.WindowListenerpublic void windowClosed(java.awt.event.WindowEvent e)
windowClosed in interface java.awt.event.WindowListenerpublic void windowClosing(java.awt.event.WindowEvent e)
windowClosing in interface java.awt.event.WindowListenerpublic void windowDeactivated(java.awt.event.WindowEvent e)
windowDeactivated in interface java.awt.event.WindowListenerpublic void windowDeiconified(java.awt.event.WindowEvent e)
windowDeiconified in interface java.awt.event.WindowListenerpublic void windowIconified(java.awt.event.WindowEvent e)
windowIconified in interface java.awt.event.WindowListenerpublic void windowOpened(java.awt.event.WindowEvent e)
windowOpened in interface java.awt.event.WindowListenerpublic void setDateFormat(int dateFormat)
dateFormat - The specified date formatDDMMYYYY, MMDDYYYY, DDMMYY, MMDDYYpublic int getDateFormat()
public void setSeparatorChar(char separatorChar)
separatorChar - The separatorCharpublic char getSeparatorChar()
public void setText(java.lang.String text)
text - The text for the Dateboxpublic java.lang.String getText()
public void setPopupSize(java.awt.Dimension popupSize)
popupSize - The popup size of the popup calendarpublic java.awt.Dimension getPopupSize()
public void setFont(java.awt.Font font)
font - The font for the Dateboxpublic void setBackground(java.awt.Color background)
background - The background color for the Dateboxpublic void setForeground(java.awt.Color foreground)
foreground - The foreground color for the Dateboxpublic void setArrowBackground(java.awt.Color background)
background - The background of the arrow buttonpublic java.awt.Color getArrowBackground()
public void setArrowForeground(java.awt.Color foreground)
public java.awt.Color getArrowForeground()
public void setVisible(boolean bVisible)
bVisible - the visibility for the Dateboxpublic void setEnabled(boolean bEnabled)
bEnabled - the enability of the Dateboxpublic void setLocale(java.util.Locale locale)
locale - The locale for the Dateboxpublic java.util.Locale getLocale()
public void setCursor(java.awt.Cursor cursor)
cursor - The cursor for the Datebox
public void setBounds(int x,
int y,
int width,
int height)
x - The x coordinate of the Dateboxy - The y coordinate of the Dateboxwidth - The width of the of the Dateboxheight - The height of the Dateboxpublic void setLicenseKey(java.lang.String licenseKey)
public java.lang.String getLicenseKey()
public ExtCalendar getCalendar()
public void setPreferredSize(java.awt.Dimension preferredSize)
preferredSize - The preferredSize for the componentpublic java.awt.Dimension getPreferredSize()
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 value
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
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
|
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 | |||||||||