|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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.configurable.mvc.sections.ValidationMessagePanel
public class ValidationMessagePanel
The validation message panel used for field elements, adds validation errors to a list and styles them appropriately.
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 |
Field Summary | |
---|---|
private VerticalFlowPanel |
container
|
private int |
errorCount
|
private KSListPanel |
errorListPanel
|
private boolean |
topMargin
|
private int |
warnCount
|
private KSListPanel |
warnListPanel
|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
ValidationMessagePanel()
|
|
ValidationMessagePanel(boolean topMargin)
|
Method Summary | |
---|---|
void |
addErrorMessage(KSLabel message)
|
void |
addWarnMessage(com.google.gwt.user.client.ui.Widget message)
|
void |
clearErrors()
|
void |
clearWarnings()
|
int |
getMessageCount()
|
boolean |
hasWarnings()
|
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 class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private VerticalFlowPanel container
private KSListPanel errorListPanel
private KSListPanel warnListPanel
private int warnCount
private int errorCount
private boolean topMargin
Constructor Detail |
---|
public ValidationMessagePanel()
public ValidationMessagePanel(boolean topMargin)
Method Detail |
---|
public void addErrorMessage(KSLabel message)
public void addWarnMessage(com.google.gwt.user.client.ui.Widget message)
public boolean hasWarnings()
public void clearErrors()
public void clearWarnings()
public int getMessageCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |