org.chenillekit.tapestry.core.base
Class AbstractWindow
java.lang.Object
org.chenillekit.tapestry.core.base.AbstractWindow
- All Implemented Interfaces:
- ClientElement
- Direct Known Subclasses:
- Window
@Import(library={"${tapestry.scriptaculous}/effects.js","../components/window/window.js","../components/window/window_effects.js","../components/Window.js"},
stylesheet="../components/window/themes/default.css")
public abstract class AbstractWindow- extends Object
- implements ClientElement
creates a window based on jvascript window library.
- Version:
- $Id: AbstractWindow.java 724 2010-11-03 19:34:53Z homburgs $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractWindow
public AbstractWindow()
configure
protected void configure(JSONObject options)
- Invoked to allow subclasses to further configure the parameters passed to this component's javascript
options. Subclasses may override this method to configure additional features of the Window.
This implementation does nothing. For more information about window options look at
this page.
- Parameters:
options - windows option object
getClientId
public String getClientId()
- Returns a unique id for the element. This value will be unique for any given rendering of a
page. This value is intended for use as the id attribute of the client-side element, and will
be used with any DHTML/Ajax related JavaScript.
- Specified by:
getClientId in interface ClientElement
isShow
public boolean isShow()
isCenter
public boolean isCenter()
isModal
public boolean isModal()
getClassName
public String getClassName()
getWidth
public int getWidth()
getHeight
public int getHeight()
getTitle
public String getTitle()
Copyright © 2008-2010 ChenilleKit. All Rights Reserved.