org.xulux.guilayer.swing.widgets
Class TabPanel

java.lang.Object
  extended by org.xulux.gui.XuluxWidget
      extended by org.xulux.gui.ContainerWidget
          extended by org.xulux.guilayer.swing.widgets.TabPanel
All Implemented Interfaces:
java.io.Serializable, org.xulux.api.gui.IContainerWidgetHandler, org.xulux.api.gui.IWidget

public class TabPanel
extends org.xulux.gui.ContainerWidget

A panel that contains tabs..

Version:
$Id: TabPanel.java,v 1.1 2005/12/18 12:58:18 mvdb Exp $
Author:
Martin van den Bemt
See Also:
Serialized Form

Nested Class Summary
 class TabPanel.RepaintComponent
          Fixes painting issues with the tabPanel.
 
Field Summary
static java.lang.String TABID
          The tabid key that is used internally by nyx.
 
Fields inherited from class org.xulux.gui.ContainerWidget
widgets
 
Fields inherited from class org.xulux.gui.XuluxWidget
initialized, initializing, isRefreshing, log, previousValue, properties, value, visible
 
Constructor Summary
TabPanel(java.lang.String name)
           
 
Method Summary
 void addToParent(org.xulux.api.gui.IWidget widget)
          Adds a widget to the tabPanel if the widget is a panel.
 void addXuluxListener(org.xulux.api.gui.IXuluxListener listener)
           
 boolean canContainValue()
           
 void destroy()
           
 void focus()
           
 java.lang.Object getGuiValue()
           
 java.lang.Object getNativeWidget()
           
 void initialize()
           
 boolean isValueEmpty()
           
 void refresh()
           
 
Methods inherited from class org.xulux.gui.ContainerWidget
addChildWidget, canBeRootWidget, canContainChildren, destroyChildren, getChildWidgets, getWidgetInitializer, initializeChildren
 
Methods inherited from class org.xulux.gui.XuluxWidget
addDependency, addPropertyHandler, addPropertyHandler, clear, equals, getDependencies, getField, getName, getParent, getPart, getPrefix, getPreviousValue, getProperties, getProperty, getPropertyHandler, getPropertyHandlers, getProvider, getRealProperty, getRealValue, getRectangle, getRules, getValue, getWidgetType, handleProperties, handleProperty, hasDependencies, ignoreLayout, ignoreUse, isEnabled, isImmidiate, isInitializing, isRefreshing, isRequired, isRootWidget, isSkip, isUseIgnored, isValidValue, isVisible, notifyListeners, processDestroy, processInit, processNativeWidget, registerRule, removeAllRules, setAutoRefresh, setContainerWidgetHandler, setEnabled, setField, setImmidiate, setLazyProperty, setName, setParent, setPart, setPosition, setPrefix, setProperty, setProvider, setRequired, setRootWidget, setSize, setSkip, setValidValue, setValue, setVisible, setWidgetInitializer, setWidgetType, toString, updateWidget
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TABID

public static final java.lang.String TABID
The tabid key that is used internally by nyx. Made it public so people can use it if they want to in their rules.

See Also:
Constant Field Values
Constructor Detail

TabPanel

public TabPanel(java.lang.String name)
Parameters:
name - the name of the tabPanel
Method Detail

destroy

public void destroy()
Specified by:
destroy in interface org.xulux.api.gui.IContainerWidgetHandler
Specified by:
destroy in interface org.xulux.api.gui.IWidget
Overrides:
destroy in class org.xulux.gui.ContainerWidget
See Also:
IWidget.destroy()

focus

public void focus()
See Also:
org.xulux.nyx.gui.XuluxWidget#focus()

getNativeWidget

public java.lang.Object getNativeWidget()
See Also:
org.xulux.nyx.gui.XuluxWidget#getNativeWidget()

initialize

public void initialize()
See Also:
org.xulux.nyx.gui.XuluxWidget#initialize()

refresh

public void refresh()
Specified by:
refresh in interface org.xulux.api.gui.IWidget
Overrides:
refresh in class org.xulux.gui.XuluxWidget
See Also:
org.xulux.nyx.gui.XuluxWidget#refresh()

addToParent

public void addToParent(org.xulux.api.gui.IWidget widget)
Adds a widget to the tabPanel if the widget is a panel. For now no support for other widget types. Need to dig in deep into panels to see what can be usefull here

See Also:
org.xulux.nyx.gui.ContainerWidget#addToParent(org.xulux.nyx.gui.XuluxWidget)

getGuiValue

public java.lang.Object getGuiValue()
See Also:
org.xulux.nyx.gui.XuluxWidget#getGuiValue()

canContainValue

public boolean canContainValue()
See Also:
org.xulux.nyx.gui.XuluxWidget#canContainValue()

isValueEmpty

public boolean isValueEmpty()
See Also:
org.xulux.nyx.gui.XuluxWidget#isValueEmpty()

addXuluxListener

public void addXuluxListener(org.xulux.api.gui.IXuluxListener listener)
Specified by:
addXuluxListener in interface org.xulux.api.gui.IWidget
Overrides:
addXuluxListener in class org.xulux.gui.XuluxWidget
See Also:
org.xulux.nyx.gui.XuluxWidget#addXuluxListener(org.xulux.nyx.gui.XuluxListener)


Copyright © 2002-2007 Martin van den Bemt. All Rights Reserved.