|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kalmeo.kuix.widget.Widget
org.kalmeo.kuix.widget.TabItem
public class TabItem
This class represents a tab item.
For further informations, visit the Kuix widgets reference page.
Nested Class Summary | |
---|---|
class |
TabItem.TabItemButton
This class represents the tabItem button. |
Nested classes/interfaces inherited from class org.kalmeo.kuix.widget.Widget |
---|
Widget.BindInstruction |
Field Summary |
---|
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()
Construct a TabItem |
Method Summary | |
---|---|
protected void |
doLayout()
Layout the widget if its layout is defined. |
TabItem.TabItemButton |
getButton()
|
protected java.lang.Object |
getDefaultStylePropertyValue(java.lang.String name)
Returns the de default style property value for name
property, or null . |
FocusManager |
getFocusManager()
Used for popup like widgets |
java.lang.String |
getIcon()
|
Widget |
getInternalChildInstance(java.lang.String tag)
Returns the first internal child instance corresponding to the given tag . |
java.lang.String |
getLabel()
|
LayoutData |
getLayoutData()
|
protected void |
internalSetSelected(boolean selected,
boolean propagateToTabFolder)
|
boolean |
isEnabled()
|
boolean |
isSelected()
|
protected void |
onAdded(Widget parent)
Event called when the widjet is added to parent . |
protected void |
onRemoved(Widget parent)
Event called when the widjet is removed from parent . |
boolean |
setAttribute(java.lang.String name,
java.lang.String value)
Set the value to the specified attribute representing by
the name |
void |
setEnabled(boolean enabled)
|
void |
setIcon(java.lang.String icon)
|
void |
setLabel(java.lang.String label)
|
void |
setOnSelect(java.lang.String onSelect)
The onSelect to set |
void |
setOnUnselect(java.lang.String onUnselect)
The onUnselect to set |
void |
setSelected(boolean selected)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TabItem()
TabItem
Method Detail |
---|
public boolean setAttribute(java.lang.String name, java.lang.String value)
Widget
value
to the specified attribute representing by
the name
setAttribute
in class Widget
true
if the attribute existspublic Widget getInternalChildInstance(java.lang.String tag)
Widget
tag
.
getInternalChildInstance
in class Widget
public FocusManager getFocusManager()
Widget
getFocusManager
in class Widget
public LayoutData getLayoutData()
getLayoutData
in class Widget
protected java.lang.Object getDefaultStylePropertyValue(java.lang.String name)
Widget
name
property, or null
.
getDefaultStylePropertyValue
in class Widget
name
propertypublic TabItem.TabItemButton getButton()
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- the label to setpublic java.lang.String getIcon()
public void setIcon(java.lang.String icon)
icon
- the icon to setpublic boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- the enabled to setpublic boolean isSelected()
public void setSelected(boolean selected)
selected
- the selected to setprotected void internalSetSelected(boolean selected, boolean propagateToTabFolder)
selected
- the selected to setpropagateToTabFolder
- public void setOnSelect(java.lang.String onSelect)
public void setOnUnselect(java.lang.String onUnselect)
protected void doLayout()
Widget
doLayout
in class Widget
protected void onAdded(Widget parent)
Widget
widjet
is added to parent
.
onAdded
in class Widget
protected void onRemoved(Widget parent)
Widget
widjet
is removed from parent
.
onRemoved
in class Widget
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |