org.kuali.student.common.ui.client.widgets
Class KSItemLabel
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.common.ui.client.widgets.KSItemLabel
- All Implemented Interfaces:
- com.google.gwt.event.logical.shared.HasCloseHandlers<KSItemLabel>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, HasDataValue
public class KSItemLabel
- extends com.google.gwt.user.client.ui.Composite
- implements com.google.gwt.event.logical.shared.HasCloseHandlers<KSItemLabel>, HasDataValue
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 |
addDomHandler, addHandler, 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, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
fireEvent |
id
private final String id
contentId
private final String contentId
removeLinkId
private final String removeLinkId
backgroundId
private final String backgroundId
PANEL_CONTENT_OPEN
private final String PANEL_CONTENT_OPEN
PANEL_CONTENT_REMOVE_LINK
private final String PANEL_CONTENT_REMOVE_LINK
PANEL_CONTENT_BACKGROUND
private final String PANEL_CONTENT_BACKGROUND
mainPanel
private com.google.gwt.user.client.ui.Panel mainPanel
panel
private com.google.gwt.user.client.ui.HTMLPanel panel
delete
private AbbrButton delete
viewDetails
private com.google.gwt.user.client.ui.Anchor viewDetails
dataHelper
private DataHelper dataHelper
data
private Data data
valueChangeCallbacks
private List<Callback<Data.Value>> valueChangeCallbacks
deletedKey
private String deletedKey
classInstanceId
private static int classInstanceId
instanceId
public int instanceId
KSItemLabel
public KSItemLabel(boolean canEdit,
DataHelper dataParser)
KSItemLabel
public KSItemLabel(boolean canEdit,
boolean hasDetails,
DataHelper dataParser)
init
private void init(boolean canEdit,
boolean hasDetails,
DataHelper dataParser)
addCloseHandler
public com.google.gwt.event.shared.HandlerRegistration addCloseHandler(com.google.gwt.event.logical.shared.CloseHandler<KSItemLabel> handler)
- Specified by:
addCloseHandler
in interface com.google.gwt.event.logical.shared.HasCloseHandlers<KSItemLabel>
addValueChangeCallback
public void addValueChangeCallback(Callback<Data.Value> callback)
- Specified by:
addValueChangeCallback
in interface HasDataValue
callHandlers
private void callHandlers()
getValue
public Data.Value getValue()
- Specified by:
getValue
in interface HasDataValue
setValue
public void setValue(Data.Value value)
- Specified by:
setValue
in interface HasDataValue
getKey
public String getKey()
getDisplayText
public String getDisplayText()
nvl
private String nvl(String inString)
redraw
private void redraw()
initDeleteHandlers
private void initDeleteHandlers()
addShowDetailsHandler
public com.google.gwt.event.shared.HandlerRegistration addShowDetailsHandler(com.google.gwt.event.dom.client.ClickHandler clickHandler)
doRemove
private void doRemove()
getDeletedKey
public String getDeletedKey()
setHighlighted
public void setHighlighted(boolean highlighted)
removeHighlight
public void removeHighlight()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
nullSafeEquals
private boolean nullSafeEquals(String str1,
String str2)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.