|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.pivot.wtk.skin.ComponentSkin
org.apache.pivot.wtk.skin.terra.TerraSpinnerSkin.SpinnerContentSkin
protected class TerraSpinnerSkin.SpinnerContentSkin
SpinnerContent skin.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentListener |
|---|
org.apache.pivot.wtk.ComponentListener.Adapter |
| Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentStateListener |
|---|
org.apache.pivot.wtk.ComponentStateListener.Adapter |
| Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentMouseListener |
|---|
org.apache.pivot.wtk.ComponentMouseListener.Adapter |
| Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentMouseButtonListener |
|---|
org.apache.pivot.wtk.ComponentMouseButtonListener.Adapter |
| Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentKeyListener |
|---|
org.apache.pivot.wtk.ComponentKeyListener.Adapter |
| Constructor Summary | |
|---|---|
protected |
TerraSpinnerSkin.SpinnerContentSkin()
|
| Method Summary | |
|---|---|
void |
focusedChanged(org.apache.pivot.wtk.Component component,
org.apache.pivot.wtk.Component obverseComponent)
|
int |
getBaseline(int width,
int height)
|
int |
getPreferredHeight(int width)
|
org.apache.pivot.wtk.Dimensions |
getPreferredSize()
|
int |
getPreferredWidth(int height)
|
boolean |
isOpaque()
|
boolean |
keyPressed(org.apache.pivot.wtk.Component component,
int keyCode,
org.apache.pivot.wtk.Keyboard.KeyLocation keyLocation)
UP Select the previous spinner item. |
boolean |
keyTyped(org.apache.pivot.wtk.Component component,
char character)
Select the next spinner item where the first character of the rendered text matches the typed key (case insensitive). |
void |
layout()
|
void |
paint(Graphics2D graphics)
|
| Methods inherited from class org.apache.pivot.wtk.skin.ComponentSkin |
|---|
cursorChanged, decodeFont, dragSourceChanged, dropTargetChanged, enabledChanged, getBaseline, getComponent, getHeight, getWidth, heightLimitsChanged, install, invalidateComponent, isFocusable, keyReleased, locationChanged, menuHandlerChanged, mouseClick, mouseDown, mouseMove, mouseOut, mouseOver, mouseUp, mouseWheel, nameChanged, parentChanged, preferredSizeChanged, repaintComponent, repaintComponent, repaintComponent, repaintComponent, repaintComponent, setSize, sizeChanged, tooltipDelayChanged, tooltipTextChanged, tooltipTriggered, visibleChanged, widthLimitsChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected TerraSpinnerSkin.SpinnerContentSkin()
| Method Detail |
|---|
public int getPreferredWidth(int height)
public int getPreferredHeight(int width)
public int getBaseline(int width,
int height)
getBaseline in interface org.apache.pivot.wtk.ConstrainedVisualgetBaseline in class org.apache.pivot.wtk.skin.ComponentSkinpublic org.apache.pivot.wtk.Dimensions getPreferredSize()
getPreferredSize in interface org.apache.pivot.wtk.ConstrainedVisualgetPreferredSize in class org.apache.pivot.wtk.skin.ComponentSkinpublic void layout()
public void paint(Graphics2D graphics)
public boolean isOpaque()
isOpaque in interface org.apache.pivot.wtk.SkinisOpaque in class org.apache.pivot.wtk.skin.ComponentSkin
public void focusedChanged(org.apache.pivot.wtk.Component component,
org.apache.pivot.wtk.Component obverseComponent)
focusedChanged in interface org.apache.pivot.wtk.ComponentStateListenerfocusedChanged in class org.apache.pivot.wtk.skin.ComponentSkin
public boolean keyPressed(org.apache.pivot.wtk.Component component,
int keyCode,
org.apache.pivot.wtk.Keyboard.KeyLocation keyLocation)
UP Select the previous spinner item.DOWN Select the next spinner item.
keyPressed in interface org.apache.pivot.wtk.ComponentKeyListenerkeyPressed in class org.apache.pivot.wtk.skin.ComponentSkin
public boolean keyTyped(org.apache.pivot.wtk.Component component,
char character)
keyTyped in interface org.apache.pivot.wtk.ComponentKeyListenerkeyTyped in class org.apache.pivot.wtk.skin.ComponentSkin
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||