org.kuali.student.common.ui.client.widgets.tabs
Class KSTabPanel

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.kuali.student.common.ui.client.widgets.tabs.KSTabPanelAbstract
                  extended by org.kuali.student.common.ui.client.widgets.tabs.KSTabPanel
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget

public class KSTabPanel
extends KSTabPanelAbstract


Nested Class Summary
static class KSTabPanel.TabPanelStyle
           
static class KSTabPanel.TabPosition
           
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
private  KSTabPanelAbstract panel
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
KSTabPanel()
           
KSTabPanel(KSTabPanel.TabPanelStyle style)
           
 
Method Summary
 void addStyleName(String style)
           
 void addTab(String key, String label, com.google.gwt.user.client.ui.Image image, com.google.gwt.user.client.ui.Widget content)
           
 void addTab(String key, String label, com.google.gwt.user.client.ui.Image image, com.google.gwt.user.client.ui.Widget content, KSTabPanel.TabPosition position)
           
 void addTab(String key, String label, com.google.gwt.user.client.ui.Widget content)
           
 void addTab(String key, String label, com.google.gwt.user.client.ui.Widget content, KSTabPanel.TabPosition position)
           
 void addTab(String key, com.google.gwt.user.client.ui.Widget tabWidget, com.google.gwt.user.client.ui.Widget content)
           
 void addTab(String key, com.google.gwt.user.client.ui.Widget tabWidget, com.google.gwt.user.client.ui.Widget content, KSTabPanel.TabPosition position)
           
 void addTabCustomCallback(String key, Callback<String> callback)
           
 com.google.gwt.user.client.ui.Widget getSelectedTab()
           
 String getSelectedTabKey()
           
 String getSelectedTabName()
           
 int getTabCount()
           
 boolean hasTabKey(String key)
           
 void removeTab(String key)
           
 void removeTabCustomCallbacks(String key)
           
 void selectTab(String key)
           
 void setTabPanelStyle(KSTabPanel.TabPanelStyle style)
           
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

panel

private KSTabPanelAbstract panel
Constructor Detail

KSTabPanel

public KSTabPanel()

KSTabPanel

public KSTabPanel(KSTabPanel.TabPanelStyle style)
Method Detail

addTab

public void addTab(String key,
                   com.google.gwt.user.client.ui.Widget tabWidget,
                   com.google.gwt.user.client.ui.Widget content,
                   KSTabPanel.TabPosition position)
Specified by:
addTab in class KSTabPanelAbstract

addTab

public void addTab(String key,
                   String label,
                   com.google.gwt.user.client.ui.Widget content,
                   KSTabPanel.TabPosition position)
Specified by:
addTab in class KSTabPanelAbstract

addTab

public void addTab(String key,
                   String label,
                   com.google.gwt.user.client.ui.Image image,
                   com.google.gwt.user.client.ui.Widget content,
                   KSTabPanel.TabPosition position)
Specified by:
addTab in class KSTabPanelAbstract

addTab

public void addTab(String key,
                   String label,
                   com.google.gwt.user.client.ui.Image image,
                   com.google.gwt.user.client.ui.Widget content)
Specified by:
addTab in class KSTabPanelAbstract

addTab

public void addTab(String key,
                   String label,
                   com.google.gwt.user.client.ui.Widget content)
Specified by:
addTab in class KSTabPanelAbstract

addTab

public void addTab(String key,
                   com.google.gwt.user.client.ui.Widget tabWidget,
                   com.google.gwt.user.client.ui.Widget content)
Specified by:
addTab in class KSTabPanelAbstract

addTabCustomCallback

public void addTabCustomCallback(String key,
                                 Callback<String> callback)
Specified by:
addTabCustomCallback in class KSTabPanelAbstract

getSelectedTabKey

public String getSelectedTabKey()
Specified by:
getSelectedTabKey in class KSTabPanelAbstract

getSelectedTab

public com.google.gwt.user.client.ui.Widget getSelectedTab()
Specified by:
getSelectedTab in class KSTabPanelAbstract

getSelectedTabName

public String getSelectedTabName()
Specified by:
getSelectedTabName in class KSTabPanelAbstract

removeTab

public void removeTab(String key)
Specified by:
removeTab in class KSTabPanelAbstract

removeTabCustomCallbacks

public void removeTabCustomCallbacks(String key)
Specified by:
removeTabCustomCallbacks in class KSTabPanelAbstract

selectTab

public void selectTab(String key)
Specified by:
selectTab in class KSTabPanelAbstract

addStyleName

public void addStyleName(String style)
Specified by:
addStyleName in class KSTabPanelAbstract

getTabCount

public int getTabCount()
Specified by:
getTabCount in class KSTabPanelAbstract

hasTabKey

public boolean hasTabKey(String key)
Specified by:
hasTabKey in class KSTabPanelAbstract

setTabPanelStyle

public void setTabPanelStyle(KSTabPanel.TabPanelStyle style)
Specified by:
setTabPanelStyle in class KSTabPanelAbstract


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.