|
swingx Version 2009-07-31 |
|||||||||
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
org.jdesktop.swingx.JXPanel
org.jdesktop.swingx.plaf.basic.SpinningCalendarHeaderHandler.SpinningCalendarHeader
protected static class SpinningCalendarHeaderHandler.SpinningCalendarHeader
The custom header component controlled and configured by this handler.
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 | |
---|---|
SpinningCalendarHeaderHandler.SpinningCalendarHeader()
|
Method Summary | |
---|---|
void |
setActions(Action prev,
Action next,
SpinnerModel model)
Installs the actions and models to be used by this component. |
void |
setArrowsSurroundMonth(boolean surroundMonth)
The default value is false. |
void |
setBackground(Color bg)
Sets the background color for this component by |
void |
setFont(Font font)
Overridden to set the font of its child components. |
void |
setMonthText(String text)
Sets the text to use for the month label. |
void |
setSpinnerFocusable(boolean focusable)
Sets the focusable property of the spinner's editor's text field. |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SpinningCalendarHeaderHandler.SpinningCalendarHeader()
Method Detail |
---|
public void setActions(Action prev, Action next, SpinnerModel model)
prev
- the action to use for the previous buttonnext
- the action to use for the next buttonmodel
- the spinner model to use for the spinner.public void setSpinnerFocusable(boolean focusable)
focusable
- the focusable property of the spinner's editor.public void setArrowsSurroundMonth(boolean surroundMonth)
surroundMonth
- public void setMonthText(String text)
text
- the text to use for the month label.public void setFont(Font font)
Overridden to set the font of its child components.
setFont
in class JComponent
public void setBackground(Color bg)
Overridden to set the background of its child compenents.
setBackground
in class JXPanel
bg
- the desired background Color
java.swing.JComponent#getBackground
,
JComponent.setOpaque(boolean)
|
swingx Version 2009-07-31 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |