public class LinkContentBlock extends ContentBlock
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled| Modifier and Type | Field and Description |
|---|---|
protected KSListPanel |
listLayout |
| Constructor and Description |
|---|
LinkContentBlock(String blockTitle,
String blockDescriptionHtml) |
LinkContentBlock(String blockTitle,
String blockDescriptionHtml,
int blockSize) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
addBlock, getBlockSize, getTitlePanelgetFlowStyleadd, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, removeadd, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, 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, unsinkEventsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected KSListPanel listLayout
public LinkContentBlock(String blockTitle, String blockDescriptionHtml, int blockSize)
public LinkContentBlock(String blockTitle, String blockDescriptionHtml)
public void add(com.google.gwt.user.client.ui.Widget widget)
add in interface com.google.gwt.user.client.ui.HasWidgetsadd in interface com.google.gwt.user.client.ui.InsertPaneladd in class ContentBlockpublic 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 - - URLCopyright © 2004-2014 The Kuali Foundation. All Rights Reserved.