public class TabPanel extends Panel
Widget.NotifyEvent| Constructor and Description |
|---|
TabPanel() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Widget widget)
Add a widget in the container
|
boolean |
addChangeListener(ChangeListener listener) |
boolean |
addTab(Widget contents) |
boolean |
addTab(Widget contents,
java.lang.String title) |
Widget |
find(java.lang.String name) |
boolean |
find(Widget widget) |
int |
getNumTabs() |
Widget |
getTab(int index) |
boolean |
getTabEnabled(int index) |
Widget |
getTabSelected() |
int |
getTabSelectedIndex() |
java.lang.String |
getTabTitle(int index) |
boolean |
remove(Widget widget)
Remove a widget in the container
|
boolean |
removeChangeListener(ChangeListener listener) |
Widget |
removeTab(int index) |
boolean |
removeTab(Widget widget) |
void |
setTab(int index,
Widget widget) |
void |
setTabEnabled(int index,
boolean enabled) |
void |
setTabSelected(int tabSelected) |
void |
setTabTitle(int index,
java.lang.Object title) |
getLayout, getNumWidgets, getWidget, getWidget, isAccurateMouseOver, isOver, isOverlappingRendering, keyPressed, keyReleased, mouseDragged, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, removeAll, setAccurateMouseOver, setLayout, setOverlappingRendering, updateaddAnimator, addFocusListener, addKeyListener, addMouseFocusListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, focusTraversal, forceSize, getBackground, getBackgroundBorder, getBackgroundColor, getBackgroundFocus, getBackgroundOver, getBackgroundPress, getBorderSize, getConstraint, getDisableFade, getHeight, getHeightOnScreen, getInsets, getInsetsBottom, getInsetsHeight, getInsetsLeft, getInsetsRight, getInsetsTop, getInsetsWidth, getLocation, getLocationAnchor, getLocationOnScreen, getLocationRef, getLocationRef2, getLocationRefAnchor, getLocationX, getLocationXOnScreen, getLocationY, getLocationYOnScreen, getMaxHeight, getMaxWidth, getMenuPopup, getMinHeight, getMinHeightWidget, getMinWidth, getMinWidthWidget, getName, getOpacity, getParent, getPopup, getRoot, getStyle, getTooltip, getViewport, getViewportInternal, getWidth, getWidthOnScreen, hasFocus, isAutoPackHeight, isAutoPackWidth, isEnabled, isEnabledHerited, isEventsOnExternalDrag, isExternalDrag, isFocusable, isMouseDown, isMouseOver, isMouseOverOrDown, isVisible, isVisibleAndEnabledHerited, isVisibleHerited, mouseClicked, mouseEntered, mouseExited, refreshFocus, removeAnimator, removeFocusListener, removeKeyListener, removeMouseFocusListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, render, requestFocus, setAutoPack, setAutoPackHeight, setAutoPackWidth, setBackground, setBackgroundBorder, setBackgroundColor, setBackgroundFocus, setBackgroundOver, setBackgroundPress, setBorderSize, setCatchAllEvents, setDisableFade, setEnabled, setEventsOnExternalDrag, setExternalDrag, setFocusable, setFocusOwner, setInsets, setInsets, setLocation, setLocation, setLocationAnchor, setLocationAndAnchorInViewport, setLocationRef, setLocationRef2, setLocationRefAnchor, setMaxSize, setMaxSize, setMenuPopup, setMinSize, setMinSize, setName, setOpacity, setPopup, setSize, setSize, setStyle, setTooltip, setVisible, toString, uiFireActionpublic Widget find(java.lang.String name)
public boolean find(Widget widget)
public boolean add(Widget widget)
Panelpublic final boolean addTab(Widget contents)
public final boolean addTab(Widget contents, java.lang.String title)
public boolean remove(Widget widget)
Panelpublic boolean removeTab(Widget widget)
public final Widget removeTab(int index)
public final boolean addChangeListener(ChangeListener listener)
public final boolean removeChangeListener(ChangeListener listener)
public final int getNumTabs()
public final int getTabSelectedIndex()
public final Widget getTabSelected()
public final void setTabSelected(int tabSelected)
public final Widget getTab(int index)
public final void setTab(int index,
Widget widget)
public final java.lang.String getTabTitle(int index)
public final void setTabTitle(int index,
java.lang.Object title)
public final boolean getTabEnabled(int index)
public final void setTabEnabled(int index,
boolean enabled)
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com