|
||||||||||
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.Composite org.kuali.student.common.ui.client.configurable.mvc.sections.WarnContainer org.kuali.student.common.ui.client.configurable.mvc.sections.RequiredContainer
public class RequiredContainer
This class creates a toggle that is used to hide or show all non-required fields.
Nested Class Summary | |
---|---|
class |
RequiredContainer.ShowAllLink
|
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 |
---|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
RequiredContainer()
|
Method Summary | |
---|---|
void |
addCallback(Callback<Boolean> callback)
|
com.google.gwt.user.client.ui.Composite |
createShowAllLink(com.google.gwt.event.dom.client.ClickHandler handler)
|
List<Callback<Boolean>> |
getCallbacks()
|
Section |
getMainSection()
|
boolean |
isShowAll()
|
boolean |
processInnerSection(Section section,
boolean showAll)
This method loop through all the fields and sections on a section and sets the visibility accordingly. |
void |
processMainSection()
This method loop through all the sections on the main section, process them accordingly and sets the "Show All" link to visible if there is no components displayed on the section and visa versa. |
void |
registerExclusion(FieldDescriptor descriptor)
|
void |
setMainSection(Section mainSection)
|
void |
setShowAll(boolean showAll)
|
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.sections.WarnContainer |
---|
add, addWarnWidget, addWarnWidgetBlock, clearWarnLayout, showWarningLayout |
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 |
---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, 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, 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 |
Constructor Detail |
---|
public RequiredContainer()
Method Detail |
---|
public boolean isShowAll()
public void setShowAll(boolean showAll)
public Section getMainSection()
public void setMainSection(Section mainSection)
public void addCallback(Callback<Boolean> callback)
public List<Callback<Boolean>> getCallbacks()
public void registerExclusion(FieldDescriptor descriptor)
public void processMainSection()
public boolean processInnerSection(Section section, boolean showAll)
section
- showAll
-
public com.google.gwt.user.client.ui.Composite createShowAllLink(com.google.gwt.event.dom.client.ClickHandler handler)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |