|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.AbstractButton javax.swing.JButton uic.widgets.UICArrowButton
A button that only shows an arrow and is repeating. The UICArrowButton is meant to be used together with things like a list or likewise. The button therefor can be pressed longer by the user to cause the press action to be repeatable, it will fire the actionPerformed each 'delay' miliseconds.
Nested Class Summary |
Nested classes inherited from class javax.swing.JButton |
JButton.AccessibleJButton |
Nested classes inherited from class javax.swing.AbstractButton |
AbstractButton.AccessibleAbstractButton, AbstractButton.ButtonChangeListener |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, 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 javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
UICArrowButton(int direction)
Construct a arrow button using one of the SwingConstants directions SOURTH, NORTH, EAST or WEST. |
Method Summary | |
Dimension |
getMaximumSize()
Overloaded method |
Dimension |
getMinimumSize()
Overloaded method |
Dimension |
getPreferredSize()
Overloaded method |
boolean |
isFocusTraversable()
Overloaded method |
void |
paint(Graphics g)
Overloaded method |
void |
setMargin(Insets insets)
Overloaded method |
void |
setTimerTimeout(int initialDelay,
int delay)
Set the timeout for the repeat action. |
void |
setTimerTimout(int initialDelay,
int delay)
Deprecated |
Methods inherited from class javax.swing.JButton |
configurePropertiesFromAction, getAccessibleContext, getUIClassID, isDefaultButton, isDefaultCapable, paramString, removeNotify, setDefaultCapable, updateUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public UICArrowButton(int direction)
Method Detail |
public void setTimerTimout(int initialDelay, int delay)
public void setTimerTimeout(int initialDelay, int delay)
initialDelay
- the timout before the first repeat action will be fired. In miliseconds.delay
- the timout before the extra actions will be fired. In milisecoonds.public void setMargin(Insets insets)
public boolean isFocusTraversable()
public void paint(Graphics g)
public Dimension getPreferredSize()
public Dimension getMinimumSize()
public Dimension getMaximumSize()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |