Class TabsPlugin.Tab
- java.lang.Object
-
- org.hippoecm.frontend.plugins.standards.tabs.TabsPlugin.Tab
-
- All Implemented Interfaces:
Serializable
,EventListener
,org.apache.wicket.extensions.markup.html.tabs.ITab
,org.apache.wicket.util.io.IClusterable
,IObserver<IObservable>
- Enclosing class:
- TabsPlugin
protected class TabsPlugin.Tab extends Object implements org.apache.wicket.extensions.markup.html.tabs.ITab, IObserver<IObservable>
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
discard()
String
getDecoratorId()
org.apache.wicket.markup.html.form.Form
getForm()
org.apache.wicket.Component
getIcon(String id, IconSize size)
org.apache.wicket.model.IModel<javax.jcr.Node>
getModel()
IObservable
getObservable()
The observable that the observer is interested in.org.apache.wicket.markup.html.panel.Panel
getPanel(String panelId)
org.apache.wicket.model.IModel<String>
getTitle()
String
getTitleCssClass()
boolean
isVisible()
void
onEvent(Iterator<? extends IEvent<IObservable>> events)
Callback that is invoked when the observable sends events.
-
-
-
Method Detail
-
getObservable
public IObservable getObservable()
Description copied from interface:IObserver
The observable that the observer is interested in. This observable may not change, w.r.t. theIObservable.equals(java.lang.Object)
method, while the observer is registered.- Specified by:
getObservable
in interfaceIObserver<IObservable>
-
getModel
public org.apache.wicket.model.IModel<javax.jcr.Node> getModel()
-
onEvent
public void onEvent(Iterator<? extends IEvent<IObservable>> events)
Description copied from interface:IObserver
Callback that is invoked when the observable sends events. The iterator is guaranteed to be non-empty.- Specified by:
onEvent
in interfaceIObserver<IObservable>
-
getTitle
public org.apache.wicket.model.IModel<String> getTitle()
- Specified by:
getTitle
in interfaceorg.apache.wicket.extensions.markup.html.tabs.ITab
-
getDecoratorId
public String getDecoratorId()
-
getTitleCssClass
public String getTitleCssClass()
-
getPanel
public org.apache.wicket.markup.html.panel.Panel getPanel(String panelId)
- Specified by:
getPanel
in interfaceorg.apache.wicket.extensions.markup.html.tabs.ITab
-
discard
public void discard() throws EditorException
- Throws:
EditorException
-
getForm
public org.apache.wicket.markup.html.form.Form getForm()
-
isVisible
public boolean isVisible()
- Specified by:
isVisible
in interfaceorg.apache.wicket.extensions.markup.html.tabs.ITab
-
-