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, getTitlePanel
getFlowStyle
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
add, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
protected 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.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
- - URLCopyright © 2004-2014 The Kuali Foundation. All Rights Reserved.