org.kuali.student.common.ui.client.widgets.menus.impl
Class KSBasicMenuImpl.MenuItemPanel

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.Panel
              extended by com.google.gwt.user.client.ui.SimplePanel
                  extended by com.google.gwt.user.client.ui.FocusPanel
                      extended by org.kuali.student.common.ui.client.widgets.menus.impl.KSBasicMenuImpl.MenuItemPanel
All Implemented Interfaces:
com.google.gwt.event.dom.client.HasAllFocusHandlers, com.google.gwt.event.dom.client.HasAllKeyHandlers, com.google.gwt.event.dom.client.HasAllMouseHandlers, com.google.gwt.event.dom.client.HasBlurHandlers, com.google.gwt.event.dom.client.HasClickHandlers, com.google.gwt.event.dom.client.HasFocusHandlers, com.google.gwt.event.dom.client.HasKeyDownHandlers, com.google.gwt.event.dom.client.HasKeyPressHandlers, com.google.gwt.event.dom.client.HasKeyUpHandlers, com.google.gwt.event.dom.client.HasMouseDownHandlers, com.google.gwt.event.dom.client.HasMouseMoveHandlers, com.google.gwt.event.dom.client.HasMouseOutHandlers, com.google.gwt.event.dom.client.HasMouseOverHandlers, com.google.gwt.event.dom.client.HasMouseUpHandlers, com.google.gwt.event.dom.client.HasMouseWheelHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.Focusable, com.google.gwt.user.client.ui.HasFocus, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.SourcesClickEvents, com.google.gwt.user.client.ui.SourcesFocusEvents, com.google.gwt.user.client.ui.SourcesKeyboardEvents, com.google.gwt.user.client.ui.SourcesMouseEvents, com.google.gwt.user.client.ui.SourcesMouseWheelEvents, Iterable<com.google.gwt.user.client.ui.Widget>
Enclosing class:
KSBasicMenuImpl

private class KSBasicMenuImpl.MenuItemPanel
extends com.google.gwt.user.client.ui.FocusPanel


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
(package private)  com.google.gwt.user.client.ui.HorizontalPanel contentPanel
           
(package private)  int indent
           
(package private)  KSMenuItemData item
           
(package private)  KSLabel itemLabel
           
(package private)  int itemNum
           
(package private)  boolean selectable
           
(package private)  boolean selected
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
KSBasicMenuImpl.MenuItemPanel(KSMenuItemData item, int indent, int itemNum)
           
 
Method Summary
 void addImage(com.google.gwt.user.client.ui.Image shownIcon)
           
 void deSelect()
           
 KSMenuItemData getItem()
           
 KSLabel getItemLabel()
           
 boolean isSelectable()
           
 boolean isSelected()
           
 void select()
           
 void setSelectable(boolean selectable)
           
 void setSelected(boolean selected)
           
 
Methods inherited from class com.google.gwt.user.client.ui.FocusPanel
addBlurHandler, addClickHandler, addClickListener, addFocusHandler, addFocusListener, addKeyboardListener, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, getTabIndex, removeClickListener, removeFocusListener, removeKeyboardListener, removeMouseListener, removeMouseWheelListener, setAccessKey, setFocus, setTabIndex
 
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel
add, getContainerElement, getWidget, iterator, remove, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, onLoad, onUnload, orphan
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addDomHandler, addHandler, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Field Detail

itemLabel

KSLabel itemLabel

contentPanel

com.google.gwt.user.client.ui.HorizontalPanel contentPanel

selectable

boolean selectable

selected

boolean selected

item

KSMenuItemData item

indent

int indent

itemNum

int itemNum
Constructor Detail

KSBasicMenuImpl.MenuItemPanel

public KSBasicMenuImpl.MenuItemPanel(KSMenuItemData item,
                                     int indent,
                                     int itemNum)
Method Detail

addImage

public void addImage(com.google.gwt.user.client.ui.Image shownIcon)

deSelect

public void deSelect()

select

public void select()

getItemLabel

public KSLabel getItemLabel()

isSelectable

public boolean isSelectable()

setSelectable

public void setSelectable(boolean selectable)

getItem

public KSMenuItemData getItem()

isSelected

public boolean isSelected()

setSelected

public void setSelected(boolean selected)


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.