org.kuali.student.lum.program.client.widgets
Class ProgramSideBar
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.kuali.student.lum.program.client.widgets.ProgramSideBar
- 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 ProgramSideBar
- extends com.google.gwt.user.client.ui.Composite
- Author:
- Igor
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 |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
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, 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, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
content
private final com.google.gwt.user.client.ui.VerticalPanel content
state
private ProgramSideBar.State state
type
private ProgramSideBar.Type type
versionLabel
private com.google.gwt.user.client.ui.Label versionLabel
viewVersion
private com.google.gwt.user.client.ui.Anchor viewVersion
historyLabel
private com.google.gwt.user.client.ui.Label historyLabel
lastUpdatedDate
private com.google.gwt.user.client.ui.Label lastUpdatedDate
scheduledReviewDate
private com.google.gwt.user.client.ui.SimplePanel scheduledReviewDate
lastReviewDate
private com.google.gwt.user.client.ui.Label lastReviewDate
eventBus
private final com.google.gwt.event.shared.HandlerManager eventBus
viewContext
private ViewContext viewContext
dialogManager
private final SideBarDialogManager dialogManager
ProgramSideBar
public ProgramSideBar(com.google.gwt.event.shared.HandlerManager eventBus,
ProgramSideBar.Type type)
initialize
public void initialize(MajorController controller)
bind
private void bind()
updateFields
private void updateFields(DataModel model)
setDate
private void setDate(Date updatedDate,
com.google.gwt.user.client.ui.Label lastUpdatedDate)
setVersion
private void setVersion(Long version,
com.google.gwt.user.client.ui.Label versionaLabel)
setWidget
private void setWidget(String path,
com.google.gwt.user.client.ui.SimplePanel container,
DataModel model)
buildLayout
private void buildLayout()
createDatePanel
private com.google.gwt.user.client.ui.Widget createDatePanel(String title,
com.google.gwt.user.client.ui.Widget widget,
boolean showEdit)
createHistoryPanel
private com.google.gwt.user.client.ui.Widget createHistoryPanel()
createVersionPanel
private com.google.gwt.user.client.ui.Widget createVersionPanel()
createVersionHistoryPanel
private com.google.gwt.user.client.ui.Widget createVersionHistoryPanel()
setState
public void setState(ProgramSideBar.State state)
setStyles
private void setStyles()
getLabel
private String getLabel(String messageKey)
getLabel
private String getLabel(String messageKey,
String parameter)
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.