org.kalmeo.kuix.widget
Class TabItem.TabItemButton

java.lang.Object
  extended by org.kalmeo.kuix.widget.Widget
      extended by org.kalmeo.kuix.widget.FocusableWidget
          extended by org.kalmeo.kuix.widget.ActionWidget
              extended by org.kalmeo.kuix.widget.CheckBox
                  extended by org.kalmeo.kuix.widget.TabItem.TabItemButton
Enclosing class:
TabItem

public class TabItem.TabItemButton
extends CheckBox

This class represents the tabItem button.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.kalmeo.kuix.widget.Widget
Widget.BindInstruction
 
Field Summary
 
Fields inherited from class org.kalmeo.kuix.widget.CheckBox
PSEUDO_CLASSES, SELECTED_PSEUDO_CLASS
 
Fields inherited from class org.kalmeo.kuix.widget.FocusableWidget
DISABLED_PSEUDO_CLASS, enabled, focusable, focused, HOVER_PSEUDO_CLASS
 
Fields inherited from class org.kalmeo.kuix.widget.Widget
bindInstructions, DEFAULT_ALIGN, DEFAULT_BACKGROUND_ALIGN, DEFAULT_BACKGROUND_REPEAT, DEFAULT_BORDER, DEFAULT_GAP, DEFAULT_MARGIN, DEFAULT_MIN_SIZE, DEFAULT_PADDING, DEFAULT_SPAN, DEFAULT_WEIGHT, next, parent, previous
 
Constructor Summary
TabItem.TabItemButton()
          Construct a TabItem.TabItemButton
 
Method Summary
 boolean isFocusable()
          Check if this Widget is focusable.
 boolean processActionEvent()
          Process action event
 void setIcon(java.lang.String icon)
          Set the icon of this tab button.
 void setLabel(java.lang.String label)
          Set the label of this tab button.
 
Methods inherited from class org.kalmeo.kuix.widget.CheckBox
getAttribute, getOnSelect, getOnUnselect, isPseudoClassCompatible, isSelected, setAttribute, setOnSelect, setOnUnselect, setSelected
 
Methods inherited from class org.kalmeo.kuix.widget.ActionWidget
getOnAction, processKeyEvent, processPointerEvent, processShortcutKeyEvent, setOnAction
 
Methods inherited from class org.kalmeo.kuix.widget.FocusableWidget
getAvailablePseudoClasses, getOnFocus, getOnLostFocus, giveFocusToNearestWidget, isEnabled, isFocused, onAdded, processFocusEvent, remove, requestFocus, setEnabled, setFocusable, setOnFocus, setOnLostFocus, setVisible
 
Methods inherited from class org.kalmeo.kuix.widget.Widget
add, add, bringNear, bringToFront, catchChildrenFrom, cleanUp, cleanUpChildren, clearCachedStyle, doLayout, getAlign, getAuthorStyle, getBackgroundAlign, getBackgroundColor, getBackgroundImage, getBackgroundRepeat, getBorder, getBorderAlign, getBorderColor, getBorderImage, getBorderStroke, getCachedMetrics, getChild, getColor, getDataProvider, getDefaultStylePropertyValue, getDesktop, getDisplayX, getDisplayY, getFocusManager, getGap, getGrayedColor, getHeight, getId, getInheritedTag, getInnerHeight, getInnerWidth, getInsets, getInternalChildInstance, getLastChild, getLayout, getLayoutData, getMargin, getMinSize, getOtherFocus, getPadding, getPreferredSize, getSpan, getStyleClasses, getStylePropertyValue, getStyles, getTag, getWeight, getWidget, getWidgetAt, getWidgetAt, getWidth, getX, getY, hasBindInstruction, hasShortcutKeyCodes, hasShortcuts, invalidate, invalidate, invalidateAppearance, invalidateAppearanceRegion, invalidateStylePropertiesCache, isFocusWidgetChild, isIndividualyVisible, isInvalidated, isInWidgetTree, isObjectAttribute, isShortcutKeyCodeCompatible, isVisible, markAsValidate, needToComputePreferredSize, onChildAdded, onChildRemoved, onFocus, onLostFocus, onRemoved, paint, paintBackground, paintBorder, paintChildrenImpl, paintImpl, paintMosaicImage, parseAuthorStyle, processDataBindEvent, processItemsModelUpdateEvent, processModelUpdateEvent, propagateFocusEvent, removeAll, removeAttributeBindInstruction, requestBackwardFocus, requestForwardFocus, sendToBack, setAttributeBindInstruction, setAuthorStyle, setBounds, setDataProvider, setId, setObjectAttribute, setShortcutKeyCodes, setShortcuts, setStyleClass, setStyleClasses
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabItem.TabItemButton

public TabItem.TabItemButton()
Construct a TabItem.TabItemButton

Method Detail

processActionEvent

public boolean processActionEvent()
Description copied from class: Widget
Process action event

Overrides:
processActionEvent in class CheckBox
Returns:
true if the event is treated by the widget

isFocusable

public boolean isFocusable()
Description copied from class: Widget
Check if this Widget is focusable.

Overrides:
isFocusable in class FocusableWidget
Returns:
true if the widget is focusable

setLabel

public void setLabel(java.lang.String label)
Set the label of this tab button.

Parameters:
label -

setIcon

public void setIcon(java.lang.String icon)
Set the icon of this tab button.

Parameters:
icon -


Copyright © 2007-2008 Kalmeo. All Rights Reserved.