de.hs_rm.cs.lecturenotes.client.module.lecture
Class LectureListPopupPanel

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.PopupPanel
                      extended by de.hs_rm.cs.lecturenotes.client.module.lecture.LectureListPopupPanel
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.logical.shared.HasCloseHandlers<com.google.gwt.user.client.ui.PopupPanel>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.EventPreview, com.google.gwt.user.client.ui.AcceptsOneWidget, com.google.gwt.user.client.ui.HasAnimation, com.google.gwt.user.client.ui.HasOneWidget, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, com.google.gwt.user.client.ui.SourcesPopupEvents, java.lang.Iterable<com.google.gwt.user.client.ui.Widget>

public final class LectureListPopupPanel
extends com.google.gwt.user.client.ui.PopupPanel

Panel to list all available Lecture entities.

Version:
$LastChangedRevision: 241 $
Author:
Enrico Homann

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel
com.google.gwt.user.client.ui.PopupPanel.PositionCallback
 
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
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
 
Field Summary
static int COLUMNINDEX_LECTURE_DOCENT
          CellTable column index for docent.
static int COLUMNINDEX_LECTURE_LASTMODIFIED
          CellTable column index for last modified.
static int COLUMNINDEX_LECTURE_MODULENO
          CellTable column index for module no.
static int COLUMNINDEX_LECTURE_STATUS
          CellTable column index for status.
static int COLUMNINDEX_LECTURE_TITLE
          CellTable column index for title.
static int COLUMNINDEX_LECTURE_VERSION
          CellTable column index for version.
static java.lang.String MSG_INVALIDCLIENTACCESSCHECK
          Html String that is shown when the client side access check for a Lecture failed.
static int TABSELECTION_LECTURELIST_ALL
          Tab Selection for all lectures.
static int TABSELECTION_LECTURELIST_MOSTANNOTATIONS
          Tab Selection for lectures sorted by most annotations.
static int TABSELECTION_LECTURELIST_OWNERSHIP
          Tab Selection for lectures with user ownership.
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
LectureListPopupPanel()
          Default constructor.
 
Method Summary
 com.google.gwt.user.cellview.client.CellTable<Lecture> createLectureTable()
          Will create a new instance of a Lecture CellTable.
 com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<Lecture>> getGeneralLectureListCallback(com.google.gwt.user.cellview.client.CellTable<Lecture> table)
          Will return the AsyncCallback for retrieval of a Lecture list.
 
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel
addAutoHidePartner, addCloseHandler, addPopupListener, center, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getTitle, hide, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setHeight, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, setWidget, setWidth, show, showRelativeTo
 
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel
add, getWidget, iterator, remove, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, clear, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, fireEvent, getLayoutData, getParent, isAttached, onBrowserEvent, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStylePrimaryName, isVisible, removeStyleDependentName, removeStyleName, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Field Detail

MSG_INVALIDCLIENTACCESSCHECK

public static final java.lang.String MSG_INVALIDCLIENTACCESSCHECK
Html String that is shown when the client side access check for a Lecture failed.

See Also:
Constant Field Values

TABSELECTION_LECTURELIST_ALL

public static final int TABSELECTION_LECTURELIST_ALL
Tab Selection for all lectures.

See Also:
Constant Field Values

TABSELECTION_LECTURELIST_MOSTANNOTATIONS

public static final int TABSELECTION_LECTURELIST_MOSTANNOTATIONS
Tab Selection for lectures sorted by most annotations.

See Also:
Constant Field Values

TABSELECTION_LECTURELIST_OWNERSHIP

public static final int TABSELECTION_LECTURELIST_OWNERSHIP
Tab Selection for lectures with user ownership.

See Also:
Constant Field Values

COLUMNINDEX_LECTURE_MODULENO

public static final int COLUMNINDEX_LECTURE_MODULENO
CellTable column index for module no.

See Also:
Constant Field Values

COLUMNINDEX_LECTURE_TITLE

public static final int COLUMNINDEX_LECTURE_TITLE
CellTable column index for title.

See Also:
Constant Field Values

COLUMNINDEX_LECTURE_VERSION

public static final int COLUMNINDEX_LECTURE_VERSION
CellTable column index for version.

See Also:
Constant Field Values

COLUMNINDEX_LECTURE_LASTMODIFIED

public static final int COLUMNINDEX_LECTURE_LASTMODIFIED
CellTable column index for last modified.

See Also:
Constant Field Values

COLUMNINDEX_LECTURE_DOCENT

public static final int COLUMNINDEX_LECTURE_DOCENT
CellTable column index for docent.

See Also:
Constant Field Values

COLUMNINDEX_LECTURE_STATUS

public static final int COLUMNINDEX_LECTURE_STATUS
CellTable column index for status.

See Also:
Constant Field Values
Constructor Detail

LectureListPopupPanel

public LectureListPopupPanel()
Default constructor.

Method Detail

createLectureTable

public com.google.gwt.user.cellview.client.CellTable<Lecture> createLectureTable()
Will create a new instance of a Lecture CellTable.

Returns:
CellTable of Lecture

getGeneralLectureListCallback

public com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<Lecture>> getGeneralLectureListCallback(com.google.gwt.user.cellview.client.CellTable<Lecture> table)
Will return the AsyncCallback for retrieval of a Lecture list.

Parameters:
table - AsyncCallback of List of Lecture
Returns:
AsyncCallback of List of Lecture