Example usage for Java org.apache.wicket.behavior Behavior fields, constructors, methods, implement or subclass
The text is from its open source code.
Behavior() Constructor |
void | afterRender(Component component) Called when a component that has this behavior coupled was rendered. |
void | beforeRender(Component component) Called when a component is about to render. |
void | bind(Component component) Bind this handler to the given component. |
void | detach(Component component) Allows the behavior to detach any state it has attached during request processing. |
boolean | getStatelessHint(Component component) This method returns false if the behavior generates a callback url (for example ajax behaviors) |
boolean | isEnabled(Component component) Called when a components is rendering and wants to render this behavior. |
boolean | isTemporary(Component component) Specifies whether or not this behavior is temporary. |
void | onComponentTag(Component component, ComponentTag tag) Called any time a component that has this behavior registered is rendering the component tag. |
void | onException(Component component, RuntimeException exception) In case an unexpected exception happened anywhere between #onComponentTag(org.apache.wicket.Component,org.apache.wicket.markup.ComponentTag) and #afterRender(org.apache.wicket.Component) , onException() will be called for any behavior. |
void | renderHead(Component component, IHeaderResponse response) Render to the web response whatever the component wants to contribute to the head section. |