|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.sibvisions.rad.ui.swing.ext.JVxCalendarPane
public class JVxCalendarPane
The JVxCalendarPane provides Calendar functionality.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| 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 | |
|---|---|
JVxCalendarPane()
Creates a new CalendarPane with no date selected. |
|
| Method Summary | |
|---|---|
void |
addActionListener(ActionListener pActionListener)
Adds an ActionListener to the button. |
void |
addNotify()
|
void |
focusGained(FocusEvent pFocusEvent)
|
void |
focusLost(FocusEvent pFocusEvent)
|
String |
getActionCommand()
Returns the action command for this button. |
Date |
getDate()
Returns the current selected date and time. |
TranslationMap |
getTranslation()
Gets the translation for this table. |
void |
keyPressed(KeyEvent pKeyEvent)
|
void |
keyReleased(KeyEvent pKeyEvent)
|
void |
keyTyped(KeyEvent pKeyEvent)
|
void |
mouseClicked(MouseEvent pMouseEvent)
|
void |
mouseEntered(MouseEvent pMouseEvent)
|
void |
mouseExited(MouseEvent pMouseEvent)
|
void |
mousePressed(MouseEvent pMouseEvent)
|
void |
mouseReleased(MouseEvent pMouseEvent)
|
protected void |
processActionEvent(ActionEvent pActionEvent)
Notifies all listeners that have registered interest for notification on this event type. |
void |
propertyChange(PropertyChangeEvent pPropertyChangeEvent)
|
void |
removeActionListener(ActionListener pActionListener)
Removes an ActionListener from the button. |
void |
requestFocus()
|
void |
run()
|
void |
setActionCommand(String pActionCommand)
Sets the action command for this button. |
void |
setDate(Date pDate)
Sets the current selected date and time. |
void |
setLocale(Locale pLocale)
|
void |
setTranslation(TranslationMap pTranslation)
Sets the translation for this table. |
void |
setUI(PanelUI pPanelUI)
|
void |
stateChanged(ChangeEvent pChangeEvent)
|
protected String |
translate(String pText)
Translates the pText with the mapped translations. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JVxCalendarPane()
| Method Detail |
|---|
public void setUI(PanelUI pPanelUI)
setUI in class JPanelpublic void run()
run in interface Runnablepublic void stateChanged(ChangeEvent pChangeEvent)
stateChanged in interface ChangeListenerpublic void propertyChange(PropertyChangeEvent pPropertyChangeEvent)
propertyChange in interface PropertyChangeListenerpublic void keyPressed(KeyEvent pKeyEvent)
keyPressed in interface KeyListenerpublic void keyReleased(KeyEvent pKeyEvent)
keyReleased in interface KeyListenerpublic void keyTyped(KeyEvent pKeyEvent)
keyTyped in interface KeyListenerpublic void requestFocus()
requestFocus in class JComponentpublic void addNotify()
addNotify in class JComponentpublic void mouseClicked(MouseEvent pMouseEvent)
mouseClicked in interface MouseListenerpublic void mouseEntered(MouseEvent pMouseEvent)
mouseEntered in interface MouseListenerpublic void mouseExited(MouseEvent pMouseEvent)
mouseExited in interface MouseListenerpublic void mousePressed(MouseEvent pMouseEvent)
mousePressed in interface MouseListenerpublic void mouseReleased(MouseEvent pMouseEvent)
mouseReleased in interface MouseListenerpublic void focusGained(FocusEvent pFocusEvent)
focusGained in interface FocusListenerpublic void focusLost(FocusEvent pFocusEvent)
focusLost in interface FocusListenerpublic void setTranslation(TranslationMap pTranslation)
setTranslation in interface ITranslatablepTranslation - the translation mappingpublic TranslationMap getTranslation()
getTranslation in interface ITranslatablepublic void setLocale(Locale pLocale)
setLocale in class Componentpublic Date getDate()
public void setDate(Date pDate)
pDate - the selected date to set.public void addActionListener(ActionListener pActionListener)
ActionListener to the button.
pActionListener - the ActionListener to be addedpublic void removeActionListener(ActionListener pActionListener)
ActionListener from the button.
If the listener is the currently set Action
for the button, then the Action
is set to null.
pActionListener - the listener to be removedpublic void setActionCommand(String pActionCommand)
pActionCommand - the action command for this buttonpublic String getActionCommand()
protected void processActionEvent(ActionEvent pActionEvent)
event
parameter.
pActionEvent - the ActionEvent objectActionListenerprotected String translate(String pText)
pText with the mapped translations.
pText - the text to translate
pText based on the translation mapping or
pText if there is no translation availablesetTranslation(TranslationMap)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||