|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.gui.components.Component
public abstract class Component
Description:
| Constructor Summary | |
|---|---|
Component(java.lang.String name)
|
|
Component(java.lang.String name,
Translator translator)
|
|
| Method Summary | |
|---|---|
void |
addListener(Controller controller)
|
java.util.List<Controller> |
debuginfoGetListeners()
|
void |
dispatchRequest(UserRequest ureq)
|
Event |
getAndClearLatestFiredEvent()
only for debugging reasons!!! |
java.lang.String |
getComponentName()
|
long |
getDispatchID()
|
java.lang.String |
getExtendedDebugInfo()
|
abstract ComponentRenderer |
getHTMLRendererSingleton()
|
Controller |
getLatestDispatchedController()
only for debug purposes!!! |
java.lang.String |
getListenerInfo()
|
Container |
getParent()
|
boolean |
getSpanAsDomReplaceable()
|
int |
getTimestamp()
to be used by Window.java to detect browser back in ajax-mode |
Translator |
getTranslator()
|
boolean |
isDirty()
|
boolean |
isDirtyForUser()
used by the screenreader feature to determine whether the component has changed from a user's perspective. |
boolean |
isDomReplaceable()
|
boolean |
isEnabled()
true by default: The componet gets rendered and actions get dispatched if false: e.g. |
boolean |
isVisible()
|
void |
setDirty(boolean dirty)
|
void |
setDomReplaceable(boolean domReplaceable)
if set to true(default), then this component can be swapped out in the browser dom tree if that capability is enabled |
void |
setEnabled(boolean enabled)
|
void |
setSpanAsDomReplaceable(boolean spanReplaceable)
|
void |
setVisible(boolean visible)
True by default: The component gets rendered false: The componet gets not rendered. |
java.lang.String |
toString()
|
void |
validate(UserRequest ureq,
ValidationResult vr)
called just before the rendering of the -whole tree- takes place, so e.g. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Component(java.lang.String name)
name - the name of this component
public Component(java.lang.String name,
Translator translator)
name - the name of this componenttranslator - the translator| Method Detail |
|---|
public java.lang.String getComponentName()
public boolean isVisible()
public void setVisible(boolean visible)
visible - The visible to setpublic void dispatchRequest(UserRequest ureq)
public abstract ComponentRenderer getHTMLRendererSingleton()
public void validate(UserRequest ureq,
ValidationResult vr)
public java.util.List<Controller> debuginfoGetListeners()
public void addListener(Controller controller)
controller - public Translator getTranslator()
public long getDispatchID()
public java.lang.String getExtendedDebugInfo()
public java.lang.String getListenerInfo()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled - The enabled to set.public Controller getLatestDispatchedController()
public Event getAndClearLatestFiredEvent()
public boolean isDirty()
public boolean isDirtyForUser()
MenuTreepublic void setDirty(boolean dirty)
dirty - The dirty to set.public boolean isDomReplaceable()
public void setDomReplaceable(boolean domReplaceable)
domReplaceable - The domReplaceable to set.public void setSpanAsDomReplaceable(boolean spanReplaceable)
public boolean getSpanAsDomReplaceable()
public Container getParent()
public int getTimestamp()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||