|
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.awt.panel.AWTPanel
com.elegantj.util.calendar.ExtCalendar
| 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 | |
int |
currentDate
Current date for the calendar |
int |
currentMonth
Current month for the calendar |
int |
currentYear
Current year for the calendar |
| Fields inherited from class com.elegantj.awt.panel.AWTPanel |
c1 |
| 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 | |
ExtCalendar()
Default constructor - Constructs the ExtCalendar |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
Implementation of the ActionListener |
void |
addDateChangedListener(DateChangedListener l)
Adds the date changed listener |
void |
addImpl(java.awt.Component component,
java.lang.Object constraints,
int index)
Overriden the addImpl |
protected void |
dateLabelIsPressed()
date label pressed invoked when the date label is pressed |
void |
fireDateChanged()
Fires the date changed |
void |
fireDateChanged(int year,
int month,
int date)
Fires the date changed |
int |
getDate()
Returns the date of the calendar |
java.awt.Dimension |
getMinimumSize()
Returns the minimum size |
int |
getMonth()
Returns the date of the month |
MonthChoice |
getMonthChoice()
Returns the month choice |
java.awt.Color |
getMonthDaysBackground()
Returns the background of the month days |
java.awt.Color |
getMonthDaysForeground()
Returns the foreground of the month days |
java.awt.Dimension |
getPreferredSize()
Returns the preferred size |
java.awt.Color |
getSelectedMonthDayBackground()
Returns the background of the selected month's day |
java.awt.Color |
getSelectedMonthDayForeground()
Returns the foreground of the selected month's day |
java.awt.Color |
getWeekDaysBackground()
Returns the background of the week days |
java.awt.Color |
getWeekDaysForeground()
Returns the foreground of the week days |
int |
getYear()
Returns the date of the year |
AWTSpinner |
getYearSpinner()
Returns the year spinner |
void |
itemStateChanged(java.awt.event.ItemEvent evt)
Implementation of the ItemListener |
void |
propertyChange(java.beans.PropertyChangeEvent e)
Implementation of the PropertyChangeListener |
void |
readExternal(java.io.ObjectInput in)
Implementation of the Externalizable |
void |
removeDateChangedListener(DateChangedListener l)
Removes the date changed listener |
void |
setBackground(java.awt.Color background)
Method which sets the background |
void |
setBorder(AWTTitleBorder border)
Method which sets the border |
void |
setDate(int date)
Sets the date for the calendar |
void |
setFont(java.awt.Font font)
Method which sets the font |
void |
setLayout(java.awt.LayoutManager layoutManager)
Method which sets the layout of the AWTPanel |
void |
setMonth(int month)
Sets the month for the calendar The value of the month between the 0 to 11 i.e 0 = January to 11 = december |
void |
setMonthDaysBackground(java.awt.Color background)
Sets the background for the month days |
void |
setMonthDaysForeground(java.awt.Color foreground)
Sets the foreground for the month days |
void |
setSelectedMonthDayBackground(java.awt.Color background)
Sets the background of the selected month's day |
void |
setSelectedMonthDayForeground(java.awt.Color foreground)
Sets the foreground of the selected month's day |
void |
setWeekDaysBackground(java.awt.Color background)
Sets the background for the week days |
void |
setWeekDaysForeground(java.awt.Color foreground)
Sets the foreground for the week days |
void |
setYear(int year)
Sets the year for the calendar |
void |
writeExternal(java.io.ObjectOutput out)
Implementation of the Externalizable |
| Methods inherited from class com.elegantj.awt.panel.AWTPanel |
add, addPropertyChangeListener, firePropertyChange, getBorder, getInsets, getLayout, getLicenseKey, getLocale, paint, remove, removePropertyChangeListener, setBounds, setCursor, setEnabled, setForeground, setInsets, setLicenseKey, setLocale, setParentSize, setVisible, showCard |
| Methods inherited from class java.awt.Panel |
addNotify, getAccessibleContext |
| Methods inherited from class java.awt.Container |
add, add, add, add, addContainerListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getListeners, getMaximumSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, 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 int currentYear
public int currentMonth
public int currentDate
| Constructor Detail |
public ExtCalendar()
| Method Detail |
public void setLayout(java.awt.LayoutManager layoutManager)
AWTPanel
setLayout in class AWTPanellayoutManager - the layout of the AWTPanelpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void itemStateChanged(java.awt.event.ItemEvent evt)
itemStateChanged in interface java.awt.event.ItemListenerpublic void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange in interface java.beans.PropertyChangeListenerpublic void setDate(int date)
date - The date for the calendarpublic int getDate()
public void setMonth(int month)
public int getMonth()
public void setYear(int year)
public int getYear()
public void setFont(java.awt.Font font)
setFont in class AWTPanelfont - The font for the AWTPanelpublic void setBorder(AWTTitleBorder border)
setBorder in class AWTPanelborder - the border for the AWTPanelpublic void setBackground(java.awt.Color background)
setBackground in class AWTPanelbackground - The backgroundpublic void setWeekDaysBackground(java.awt.Color background)
background - The background for the week dayspublic java.awt.Color getWeekDaysBackground()
public void setWeekDaysForeground(java.awt.Color foreground)
foreground - The foreground for the week dayspublic java.awt.Color getWeekDaysForeground()
public void setMonthDaysBackground(java.awt.Color background)
background - The background for the month dayspublic java.awt.Color getMonthDaysBackground()
public void setMonthDaysForeground(java.awt.Color foreground)
foreground - The foreground for the month dayspublic java.awt.Color getMonthDaysForeground()
public void setSelectedMonthDayBackground(java.awt.Color background)
background - The selected month's daypublic java.awt.Color getSelectedMonthDayBackground()
public void setSelectedMonthDayForeground(java.awt.Color foreground)
foreground - The selected month's daypublic java.awt.Color getSelectedMonthDayForeground()
protected void dateLabelIsPressed()
public void fireDateChanged()
public void fireDateChanged(int year,
int month,
int date)
year - The yearmonth - The monthdate - The datepublic void addDateChangedListener(DateChangedListener l)
l - The DateChangedListenerpublic void removeDateChangedListener(DateChangedListener l)
l - The DateChangedListenerpublic MonthChoice getMonthChoice()
public AWTSpinner getYearSpinner()
public java.awt.Dimension getPreferredSize()
getPreferredSize in class AWTPanelpublic java.awt.Dimension getMinimumSize()
getMinimumSize in class AWTPanel
public void addImpl(java.awt.Component component,
java.lang.Object constraints,
int index)
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException,
java.awt.IllegalComponentStateException
writeExternal in interface java.io.ExternalizablewriteExternal in class AWTPaneljava.io.IOException
java.awt.IllegalComponentStateException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.ExternalizablereadExternal in class AWTPaneljava.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 | |||||||||