Package org.apache.pivot.wtk.skin.terra
Class TerraSeparatorSkin
- java.lang.Object
-
- org.apache.pivot.wtk.skin.ComponentSkin
-
- org.apache.pivot.wtk.skin.SeparatorSkin
-
- org.apache.pivot.wtk.skin.terra.TerraSeparatorSkin
-
- All Implemented Interfaces:
ComponentKeyListener
,ComponentListener
,ComponentMouseButtonListener
,ComponentMouseListener
,ComponentMouseWheelListener
,ComponentStateListener
,ComponentTooltipListener
,ConstrainedVisual
,SeparatorListener
,Skin
,Visual
public class TerraSeparatorSkin extends SeparatorSkin
Terra separator skin.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentKeyListener
ComponentKeyListener.Adapter, ComponentKeyListener.Listeners
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentListener
ComponentListener.Adapter, ComponentListener.Listeners
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentMouseButtonListener
ComponentMouseButtonListener.Adapter, ComponentMouseButtonListener.Listeners
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentMouseListener
ComponentMouseListener.Adapter, ComponentMouseListener.Listeners
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentMouseWheelListener
ComponentMouseWheelListener.Listeners
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentStateListener
ComponentStateListener.Adapter, ComponentStateListener.Listeners
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentTooltipListener
ComponentTooltipListener.Listeners
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.SeparatorListener
SeparatorListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description TerraSeparatorSkin()
Specific constructor with nothing to do.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setColor(int color)
Set the foreground color to the theme index color.void
setHeadingColor(int headingColor)
Set the heading color to the theme index color.-
Methods inherited from class org.apache.pivot.wtk.skin.SeparatorSkin
getColor, getFont, getHeadingColor, getPadding, getPreferredHeight, getPreferredSize, getPreferredWidth, getThickness, headingChanged, install, isFocusable, layout, paint, setColor, setColor, setFont, setFont, setFont, setHeadingColor, setHeadingColor, setPadding, setPadding, setPadding, setPadding, setPadding, setPadding, setThickness, setThickness
-
Methods inherited from class org.apache.pivot.wtk.skin.ComponentSkin
colorFromObject, colorFromObject, colorFromObject, colorFromObject, currentTheme, cursorChanged, decodeFont, defaultBackgroundColor, defaultForegroundColor, dragSourceChanged, dropTargetChanged, enabledChanged, focusedChanged, fontFromObject, getBaseline, getBaseline, getColor, getComponent, getFocusRectangleStroke, getHeight, getSize, getTextInputMethodListener, getThemeFont, getWidth, heightLimitsChanged, invalidateComponent, isOpaque, keyPressed, keyReleased, keyTyped, locationChanged, menuHandlerChanged, mouseClick, mouseDown, mouseMove, mouseOut, mouseOver, mouseUp, mouseWheel, nameChanged, parentChanged, preferredSizeChanged, repaintComponent, repaintComponent, repaintComponent, repaintComponent, repaintComponent, setDefaultStyles, setSize, sizeChanged, themeHasThickFocusRectangle, themeHasTransitionEnabled, themeIsDark, themeIsFlat, tooltipDelayChanged, tooltipTextChanged, tooltipTriggered, visibleChanged, widthLimitsChanged
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.pivot.wtk.ConstrainedVisual
setSize
-
-
-
-
Constructor Detail
-
TerraSeparatorSkin
public TerraSeparatorSkin()
Specific constructor with nothing to do.Default colors, etc. set by call to
TerraTheme.setDefaultStyles(T)
fromSeparatorSkin.install(org.apache.pivot.wtk.Component)
.
-
-
Method Detail
-
setColor
public void setColor(int color)
Set the foreground color to the theme index color.- Parameters:
color
- The theme color index for the new foreground color.
-
setHeadingColor
public void setHeadingColor(int headingColor)
Set the heading color to the theme index color.- Parameters:
headingColor
- The theme color index for the new heading color.
-
-