|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wicketstuff.yui.markup.html.container.YuiWindow
public abstract class YuiWindow
A simple implementation of IWindow.
Assumes that the header and footer are simple strings that can be retrieved from some model (e.g. a ResourceModel).
Implement IYuiWindow directly for more advanced options.
| Constructor Summary | |
|---|---|
YuiWindow(org.apache.wicket.model.IModel<String> titleModel,
org.apache.wicket.model.IModel<String> footerModel)
Ctor. |
|
YuiWindow(String titleKey)
Constructor for footer less window with fixed title. |
|
| Method Summary | |
|---|---|
String |
getAdditionalOpts()
|
org.apache.wicket.Component |
newFooter(String id)
Creates the footer component. |
org.apache.wicket.Component |
newHeader(String id)
Creates the header component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.wicketstuff.yui.markup.html.container.IYuiWindow |
|---|
getDimension, newBody |
| Constructor Detail |
|---|
public YuiWindow(String titleKey)
titleKey - resource key for the title
public YuiWindow(org.apache.wicket.model.IModel<String> titleModel,
org.apache.wicket.model.IModel<String> footerModel)
titleModel - model for the title or null for no titlefooterModel - model for the footer or null for no footer| Method Detail |
|---|
public String getAdditionalOpts()
getAdditionalOpts in interface IYuiWindowIYuiWindow.chess.wicket.yui.IWindow#getAdditionalOpts()public org.apache.wicket.Component newFooter(String id)
IYuiWindow
newFooter in interface IYuiWindowid - component id of new footer panel
IYuiWindow.chess.wicket.yui.IWindow#newFooter(java.lang.String)public org.apache.wicket.Component newHeader(String id)
IYuiWindow
newHeader in interface IYuiWindowid - component id of new footer panel
IYuiWindow.chess.wicket.yui.IWindow#newHeader(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||