|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.user.client.ui.UIObject com.google.gwt.user.client.ui.Widget com.google.gwt.user.client.ui.Panel com.google.gwt.user.client.ui.ComplexPanel com.google.gwt.user.client.ui.FlowPanel org.kuali.student.common.ui.client.widgets.layout.CustomFlowPanel org.kuali.student.common.ui.client.widgets.layout.VerticalFlowPanel org.kuali.student.common.ui.client.widgets.layout.ContentBlock org.kuali.student.common.ui.client.widgets.layout.LinkContentBlock
public class LinkContentBlock
A content block which contains a list of links/widgets and adds them in a consistent manner
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 |
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.InsertPanel |
---|
com.google.gwt.user.client.ui.InsertPanel.ForIsWidget |
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets |
---|
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget |
Field Summary | |
---|---|
protected KSListPanel |
listLayout
|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
LinkContentBlock(String blockTitle,
String blockDescriptionHtml)
|
|
LinkContentBlock(String blockTitle,
String blockDescriptionHtml,
int blockSize)
|
Method Summary | |
---|---|
void |
add(com.google.gwt.user.client.ui.Widget widget)
|
void |
addExternalLink(String text,
String externalHref,
boolean openInNewWin)
Use this when you want a simple External link. |
void |
addNavLinkWidget(String text,
com.google.gwt.event.dom.client.ClickHandler handler)
Use this when you want an anchor attached to a custom click handler |
void |
addNavLinkWidget(String text,
String location)
Use this when you simply want to Navigate to other internal, KS screens. |
Methods inherited from class org.kuali.student.common.ui.client.widgets.layout.ContentBlock |
---|
addBlock, getBlockSize, getTitlePanel |
Methods inherited from class org.kuali.student.common.ui.client.widgets.layout.VerticalFlowPanel |
---|
getFlowStyle |
Methods inherited from class com.google.gwt.user.client.ui.FlowPanel |
---|
clear, insert, insert |
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel |
---|
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove |
Methods inherited from class com.google.gwt.user.client.ui.Panel |
---|
add, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, remove |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidget |
---|
add |
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget |
---|
getWidgetIndex |
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel |
---|
getWidget, getWidgetCount, getWidgetIndex, remove |
Field Detail |
---|
protected KSListPanel listLayout
Constructor Detail |
---|
public LinkContentBlock(String blockTitle, String blockDescriptionHtml, int blockSize)
public LinkContentBlock(String blockTitle, String blockDescriptionHtml)
Method Detail |
---|
public void add(com.google.gwt.user.client.ui.Widget widget)
add
in interface com.google.gwt.user.client.ui.HasWidgets
add
in interface com.google.gwt.user.client.ui.InsertPanel
add
in class ContentBlock
public void addNavLinkWidget(String text, String location)
text
- - labellocation
- - relative internal path to screenpublic void addNavLinkWidget(String text, com.google.gwt.event.dom.client.ClickHandler handler)
text
- - labelhandler
- - whatever handler you need.public void addExternalLink(String text, String externalHref, boolean openInNewWin)
text
- - label of linkexternalHref
- - URL
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |