javax.rad.application
Interface IContent

All Superinterfaces:
IComponent, INamedObject, IResource
All Known Subinterfaces:
IApplication, IWorkScreen, IWorkScreenApplication
All Known Implementing Classes:
Application, Application, Content, ControllerContent, Dialog, Error, Message, RemoteApplication, RemoteWorkScreen, RemoteWorkScreenApplication, WorkScreen

public interface IContent
extends IComponent

Platform and technology independent windowed content definition. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .


Method Summary
<OP> OP
getOpener()
          Gets the opener of the content.
 boolean isDestroyed()
          Gets whether the content is already destroyed.
 void notifyDestroy()
          Notifies the content, that it will be destroyed.
 void notifyVisible()
          Notifies the content, that it is now positioned and showing.
<OP> void
setOpener(OP pOpener)
          Sets the opener of the content.
 
Methods inherited from interface javax.rad.ui.IComponent
capture, eventComponentMoved, eventComponentResized, eventFocusGained, eventFocusLost, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getCursor, getEventSource, getFactory, getFont, getForeground, getLocation, getLocationRelativeTo, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getStyle, getTabIndex, getToolTipText, isBackgroundSet, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isVisible, requestFocus, setBackground, setBounds, setCursor, setEnabled, setEventSource, setFocusable, setFont, setForeground, setLocation, setLocationRelativeTo, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setSize, setStyle, setTabIndex, setToolTipText, setVisible
 
Methods inherited from interface javax.rad.ui.IResource
getResource
 

Method Detail

notifyVisible

void notifyVisible()
Notifies the content, that it is now positioned and showing.


notifyDestroy

void notifyDestroy()
Notifies the content, that it will be destroyed.

Throws:
java.lang.SecurityException - to prevent from being destroyed.

isDestroyed

boolean isDestroyed()
Gets whether the content is already destroyed.

Returns:
true if content is destroyed, false otherwise

setOpener

<OP> void setOpener(OP pOpener)
Sets the opener of the content.

Type Parameters:
OP - the opener type
Parameters:
pOpener - the opener component or null if the component is unknown

getOpener

<OP> OP getOpener()
Gets the opener of the content.

Type Parameters:
OP - the opener type
Returns:
the opener component or null if the opener is unknown


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.