Package org.apache.pivot.wtk.skin.terra
Class TerraTabPaneSkin.TabButton
- java.lang.Object
-
- org.apache.pivot.wtk.Component
-
- org.apache.pivot.wtk.Button
-
- org.apache.pivot.wtk.skin.terra.TerraTabPaneSkin.TabButton
-
- All Implemented Interfaces:
ConstrainedVisual
,Visual
- Enclosing class:
- TerraTabPaneSkin
public class TerraTabPaneSkin.TabButton extends Button
Tab button component.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.pivot.wtk.Button
Button.ButtonDataBindMapping, Button.DataRenderer, Button.SelectedBindMapping, Button.State, Button.StateBindMapping
-
Nested classes/interfaces inherited from class org.apache.pivot.wtk.Component
Component.DecoratorSequence, Component.StyleDictionary, Component.UserDataDictionary
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getButtonData()
Button.DataRenderer
getDataRenderer()
java.lang.String
getTooltipText()
void
press()
"Presses" the button.void
setButtonData(java.lang.Object buttonData)
void
setDataRenderer(Button.DataRenderer dataRenderer)
void
setToggleButton(boolean toggleButton)
Sets the button's toggle state.void
setTooltipText(java.lang.String tooltipText)
Sets the component's tooltip text.void
setTriState(boolean triState)
Sets the button's tri-state state.-
Methods inherited from class org.apache.pivot.wtk.Button
clear, getAction, getButtonBindingListeners, getButtonDataBindMapping, getButtonDataBindType, getButtonDataKey, getButtonGroup, getButtonListeners, getButtonPressListeners, getButtonStateListeners, getQueuedActionDelay, getSelectedBindMapping, getSelectedBindType, getSelectedKey, getState, getStateBindMapping, getStateBindType, getStateKey, isQueuedAction, isSelected, isToggleButton, isTriState, load, setAction, setAction, setButtonDataBindMapping, setButtonDataBindType, setButtonDataKey, setButtonGroup, setEnabled, setQueuedAction, setQueuedActionDelay, setSelected, setSelectedBindMapping, setSelectedBindType, setSelectedKey, setState, setStateBindMapping, setStateBindType, setStateKey, store
-
Methods inherited from class org.apache.pivot.wtk.Component
checkSkin, clearFocus, contains, copyStyle, copyStyle, getAncestor, getAncestor, getAttribute, getAutomationID, getBaseline, getBaseline, getBounds, getComponentClassListeners, getComponentDataListeners, getComponentDecoratorListeners, getComponentKeyListeners, getComponentListeners, getComponentMouseButtonListeners, getComponentMouseListeners, getComponentMouseWheelListeners, getComponentStateListeners, getComponentStyleListeners, getComponentTooltipListeners, getCursor, getDecoratedBounds, getDecorators, getDisplay, getDragSource, getDropTarget, getFocusedComponent, getGraphics, getHeight, getHeightLimits, getLocation, getMaximumHeight, getMaximumWidth, getMenuHandler, getMinimumHeight, getMinimumWidth, getMouseLocation, getName, getNamedStyles, getParent, getPreferredHeight, getPreferredHeight, getPreferredSize, getPreferredWidth, getPreferredWidth, getScreenBounds, getSize, getSkin, getStyle, getStyle, getStyleBoolean, getStyleBoolean, getStyleColor, getStyleColor, getStyleFont, getStyleFont, getStyleInt, getStyleInt, getStyles, getTextInputMethodListener, getTooltipDelay, getTooltipWrapText, getTypedStyles, getUserData, getVisibleArea, getVisibleArea, getVisibleArea, getWidth, getWidthLimits, getWindow, getX, getY, indexBoundsCheck, installSkin, invalidate, isBlocked, isEnabled, isFocusable, isFocused, isMouseOver, isOpaque, isPreferredHeightSet, isPreferredSizeSet, isPreferredWidthSet, isShowing, isValid, isVisible, keyPressed, keyReleased, keyTyped, layout, mapPointFromAncestor, mapPointFromAncestor, mapPointToAncestor, mapPointToAncestor, mouseClick, mouseDown, mouseMove, mouseOut, mouseOver, mouseUp, mouseWheel, offsetToScreen, paint, putStyle, putStyle, reenterMouse, repaint, repaint, repaint, repaint, repaint, repaint, requestFocus, scrollAreaToVisible, scrollAreaToVisible, setAttribute, setAutomationID, setAutomationID, setCursor, setDragSource, setDropTarget, setFocused, setHeight, setHeightLimits, setHeightLimits, setLocation, setLocation, setMaximumHeight, setMaximumWidth, setMenuHandler, setMinimumHeight, setMinimumWidth, setName, setParent, setPreferredHeight, setPreferredSize, setPreferredSize, setPreferredWidth, setSize, setSize, setSkin, setStyleName, setStyleNames, setStyleNames, setStyles, setStyles, setTooltipDelay, setTooltipWrapText, setVisible, setWidth, setWidthLimits, setWidthLimits, setX, setY, toString, transferFocus, validate
-
-
-
-
Constructor Detail
-
TabButton
public TabButton(Component tabValue)
-
-
Method Detail
-
getButtonData
public java.lang.Object getButtonData()
- Overrides:
getButtonData
in classButton
-
setButtonData
@UnsupportedOperation public void setButtonData(java.lang.Object buttonData)
- Overrides:
setButtonData
in classButton
-
getDataRenderer
public Button.DataRenderer getDataRenderer()
- Overrides:
getDataRenderer
in classButton
-
setDataRenderer
@UnsupportedOperation public void setDataRenderer(Button.DataRenderer dataRenderer)
- Overrides:
setDataRenderer
in classButton
-
getTooltipText
public java.lang.String getTooltipText()
- Overrides:
getTooltipText
in classComponent
- Returns:
- The component's tooltip text, or
null
if no tooltip is specified.
-
setTooltipText
@UnsupportedOperation public void setTooltipText(java.lang.String tooltipText)
Description copied from class:Component
Sets the component's tooltip text.- Overrides:
setTooltipText
in classComponent
- Parameters:
tooltipText
- The component's tooltip text, ornull
for no tooltip.
-
setToggleButton
@UnsupportedOperation public void setToggleButton(boolean toggleButton)
Description copied from class:Button
Sets the button's toggle state.- Overrides:
setToggleButton
in classButton
- Parameters:
toggleButton
- Whether or not this should be a toggle button.
-
setTriState
@UnsupportedOperation public void setTriState(boolean triState)
Description copied from class:Button
Sets the button's tri-state state.- Overrides:
setTriState
in classButton
- Parameters:
triState
- Whether or not to make this a tri-state button.
-
-