com.sibvisions.rad.ui.web.impl.container
Class AbstractWebWindow

java.lang.Object
  extended by com.sibvisions.rad.ui.web.impl.WebResource
      extended by com.sibvisions.rad.ui.web.impl.WebComponent
          extended by com.sibvisions.rad.ui.web.impl.WebContainer
              extended by com.sibvisions.rad.ui.web.impl.container.WebToolBarPanel
                  extended by com.sibvisions.rad.ui.web.impl.container.AbstractWebWindow
All Implemented Interfaces:
IToolBarPanel, IWindow, IAlignmentConstants, IComponent, IContainer, IResource
Direct Known Subclasses:
AbstractWebFrame, WebWindow

public abstract class AbstractWebWindow
extends WebToolBarPanel
implements IWindow

Web server implementation of IWindow.


Field Summary
 
Fields inherited from class com.sibvisions.rad.ui.web.impl.container.WebToolBarPanel
toolBarPanel
 
Fields inherited from class com.sibvisions.rad.ui.web.impl.WebContainer
components
 
Fields inherited from class com.sibvisions.rad.ui.web.impl.WebComponent
componentId
 
Fields inherited from interface javax.rad.ui.container.IToolBarPanel
AREA_BOTTOM, AREA_LEFT, AREA_RIGHT, AREA_TOP
 
Fields inherited from interface javax.rad.ui.IAlignmentConstants
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP
 
Constructor Summary
protected AbstractWebWindow()
          Creates a new instance of AbstractWebWindow.
 
Method Summary
 WindowHandler eventWindowActivated()
          The EventHandler for the window activated event.
 WindowHandler eventWindowClosed()
          The EventHandler for the window closed event.
 WindowHandler eventWindowClosing()
          The EventHandler for the window closing event.
 WindowHandler eventWindowDeactivated()
          The EventHandler for the window deactivated event.
 WindowHandler eventWindowDeiconified()
          The EventHandler for the window deiconified event.
 WindowHandler eventWindowIconified()
          The EventHandler for the window iconified event.
 WindowHandler eventWindowOpened()
          The EventHandler for the window opened event.
 void setLocationRelativeTo(IComponent component)
          Sets the location of the window relative to the specified component.
 
Methods inherited from class com.sibvisions.rad.ui.web.impl.container.WebToolBarPanel
add, addPanelIntern, addToolBar, addToolBar, getToolBar, getToolBarArea, getToolBarCount, indexOfToolBar, remove, removeAllToolBars, removePanelIntern, removeToolBar, removeToolBar, setLayout, setToolBarArea
 
Methods inherited from class com.sibvisions.rad.ui.web.impl.WebContainer
add, add, add, getComponent, getComponentCount, getLayout, indexOf, remove, removeAll
 
Methods inherited from class com.sibvisions.rad.ui.web.impl.WebComponent
capture, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, finalize, getAsString, getBackground, getBounds, getChangedProperties, getComponentId, getComponentName, getConstraints, getCursor, getFactory, getFont, getForeground, getHorizontalAlignment, getLocation, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getProperty, getSize, getToolTipText, getVerticalAlignment, isBackgroundSet, isChanged, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isVisible, requestFocus, setBackground, setBounds, setComponentId, setConstraints, setCursor, setEnabled, setFactory, setFocusable, setFont, setForeground, setHorizontalAlignment, setLocation, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setProperty, setProperty, setSize, setToolTipText, setVerticalAlignment, setVisible
 
Methods inherited from class com.sibvisions.rad.ui.web.impl.WebResource
getNullableAsString, getResource, setAsString, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.rad.ui.container.IWindow
dispose, isActive, isDisposed, pack, toBack, toFront
 
Methods inherited from interface javax.rad.ui.IContainer
add, add, add, add, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, setLayout
 
Methods inherited from interface javax.rad.ui.IComponent
capture, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getCursor, getFactory, getFont, getForeground, getLocation, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getToolTipText, isBackgroundSet, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isVisible, requestFocus, setBackground, setBounds, setCursor, setEnabled, setFocusable, setFont, setForeground, setLocation, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setSize, setToolTipText, setVisible
 
Methods inherited from interface javax.rad.ui.IResource
getResource
 

Constructor Detail

AbstractWebWindow

protected AbstractWebWindow()
Creates a new instance of AbstractWebWindow.

See Also:
IWindow
Method Detail

setLocationRelativeTo

public void setLocationRelativeTo(IComponent component)
Sets the location of the window relative to the specified component. If the component is not currently showing, or pComponent is null, the window is centered on the screen.

Specified by:
setLocationRelativeTo in interface IWindow
Parameters:
component - the component in relation to which the window's location is determined

eventWindowOpened

public WindowHandler eventWindowOpened()
The EventHandler for the window opened event.

Specified by:
eventWindowOpened in interface IWindow
Returns:
the EventHandler for the window opened event.

eventWindowClosing

public WindowHandler eventWindowClosing()
The EventHandler for the window closing event.

Specified by:
eventWindowClosing in interface IWindow
Returns:
the EventHandler for the window closing event.

eventWindowClosed

public WindowHandler eventWindowClosed()
The EventHandler for the window closed event.

Specified by:
eventWindowClosed in interface IWindow
Returns:
the EventHandler for the window closed event.

eventWindowIconified

public WindowHandler eventWindowIconified()
The EventHandler for the window iconified event.

Specified by:
eventWindowIconified in interface IWindow
Returns:
the EventHandler for the window iconified event.

eventWindowDeiconified

public WindowHandler eventWindowDeiconified()
The EventHandler for the window deiconified event.

Specified by:
eventWindowDeiconified in interface IWindow
Returns:
the EventHandler for the window deiconified event.

eventWindowActivated

public WindowHandler eventWindowActivated()
The EventHandler for the window activated event.

Specified by:
eventWindowActivated in interface IWindow
Returns:
the EventHandler for the window activated event.

eventWindowDeactivated

public WindowHandler eventWindowDeactivated()
The EventHandler for the window deactivated event.

Specified by:
eventWindowDeactivated in interface IWindow
Returns:
the EventHandler for the window deactivated event.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.