org.kuali.student.common.ui.client.widgets.tabs.impl
Class KSTabPanelImpl.Tab

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.impl.KSTabPanelImpl.Tab
All Implemented Interfaces:
com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener
Enclosing class:
KSTabPanelImpl

protected class KSTabPanelImpl.Tab
extends com.google.gwt.user.client.ui.Composite


Nested Class Summary
 
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  List<Callback<String>> callbacks
           
private  com.google.gwt.user.client.ui.Widget displayContent
           
private  int labelIndex
           
private  boolean selected
           
private  com.google.gwt.user.client.ui.Widget tab
           
private  String tabKey
           
private  ClickablePanel tabPanel
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
KSTabPanelImpl.Tab(String key, String label, com.google.gwt.user.client.ui.Image image, com.google.gwt.user.client.ui.Widget displayContent)
           
KSTabPanelImpl.Tab(String key, String label, com.google.gwt.user.client.ui.Widget displayContent)
           
KSTabPanelImpl.Tab(String key, com.google.gwt.user.client.ui.Widget tab, com.google.gwt.user.client.ui.Widget displayContent)
           
 
Method Summary
 void addCallback(Callback<String> callback)
           
 void addTabStyleName(String style)
           
 void emptyCallbacks()
           
 String getTabKey()
           
 void init(com.google.gwt.user.client.ui.Widget tab, com.google.gwt.user.client.ui.Widget displayContent)
           
 void onDeselect()
           
 void onMouseOut()
           
 void onMouseOver()
           
 void onSelect()
           
 
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
addDomHandler, addHandler, 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, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

selected

private boolean selected

tab

private com.google.gwt.user.client.ui.Widget tab

tabPanel

private ClickablePanel tabPanel

displayContent

private com.google.gwt.user.client.ui.Widget displayContent

labelIndex

private int labelIndex

tabKey

private String tabKey

callbacks

private List<Callback<String>> callbacks
Constructor Detail

KSTabPanelImpl.Tab

public KSTabPanelImpl.Tab(String key,
                          String label,
                          com.google.gwt.user.client.ui.Image image,
                          com.google.gwt.user.client.ui.Widget displayContent)

KSTabPanelImpl.Tab

public KSTabPanelImpl.Tab(String key,
                          String label,
                          com.google.gwt.user.client.ui.Widget displayContent)

KSTabPanelImpl.Tab

public KSTabPanelImpl.Tab(String key,
                          com.google.gwt.user.client.ui.Widget tab,
                          com.google.gwt.user.client.ui.Widget displayContent)
Method Detail

addCallback

public void addCallback(Callback<String> callback)

emptyCallbacks

public void emptyCallbacks()

getTabKey

public String getTabKey()

init

public void init(com.google.gwt.user.client.ui.Widget tab,
                 com.google.gwt.user.client.ui.Widget displayContent)

addTabStyleName

public void addTabStyleName(String style)

onSelect

public void onSelect()

onDeselect

public void onDeselect()

onMouseOver

public void onMouseOver()

onMouseOut

public void onMouseOut()


Copyright © 2010 The Kuali Foundation. All rights reserved.