portal.comp.desktop
Class Window
java.lang.Object
portal.core.api.Component
portal.comp.desktop.Window
- All Implemented Interfaces:
- Renderable, java.io.Serializable
- Direct Known Subclasses:
- Dialog, Frame, RootWindow
- public abstract class Window
- extends Component
- See Also:
- Serialized Form
Methods inherited from class portal.core.api.Component |
afterRender, beforeRender, createDefaultModel, getLayout, getModel, getParent, isEnabled, isVisible, render, setEnabled, setLayout, setModel, setParent, setVisible, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Window
public Window()
Window
public Window(java.lang.String name)
show
public abstract void show()
close
public void close()
getTitle
public java.lang.String getTitle()
setTitle
public void setTitle(java.lang.String string)
getContentPanel
public Panel getContentPanel()
setContentPanel
public void setContentPanel(Panel panel)
draw
public final void draw(HtmlGraphics graphics)
throws RenderException
- Description copied from class:
Component
With this method the component can render itself using the passed HtmlGraphics object.
This method is not called when a layout manager is set since the existence of a layout
manager takes precedence above the draw()
method.
- Overrides:
draw
in class Component
- Parameters:
graphics
- the html graphics instance to use for drawing this component
- Throws:
RenderException
- when the rendering process could not proceed or encountered an error
hasDialog
public boolean hasDialog()
addWindowListener
public void addWindowListener(WindowListener listener)
removeWindowListener
public void removeWindowListener(WindowListener listener)