javax.rad.ui.container
Interface IInternalFrame

All Superinterfaces:
IComponent, IContainer, IFrame, INamedObject, IResource, IToolBarPanel, IWindow
All Known Implementing Classes:
About, Error, Login, Message, SwingInternalFrame, UIInternalFrame

public interface IInternalFrame
extends IFrame

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

See Also:
JInternalFrame

Field Summary
 
Fields inherited from interface javax.rad.ui.container.IFrame
ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, NORMAL
 
Fields inherited from interface javax.rad.ui.container.IToolBarPanel
AREA_BOTTOM, AREA_LEFT, AREA_RIGHT, AREA_TOP
 
Method Summary
 void close()
          Closes this internal frame.
 boolean isClosable()
          Returns whether this internal frame can be closed by some user action.
 boolean isClosed()
          Returns whether this IInternalFrame is currently closed.
 boolean isIconifiable()
          Returns whether this internal frame can be iconified by some user action.
 boolean isMaximizable()
          Returns whether this internal frame can be maximized by some user action.
 boolean isModal()
          Returns the modal option of the internal frame.
 void setClosable(boolean pClosable)
          Sets whether this internal frame can be closed by some user action.
 void setIconifiable(boolean pIconifiable)
          Sets whether this internal frame can be iconified by some user action.
 void setMaximizable(boolean pMaximizable)
          Sets whether this internal frame can be maximized by some user action.
 void setModal(boolean pModal)
          Sets the frame as modal frame.
 
Methods inherited from interface javax.rad.ui.container.IFrame
getIconImage, getMenuBar, getState, getTitle, isResizable, setIconImage, setMenuBar, setResizable, setState, setTitle
 
Methods inherited from interface javax.rad.ui.container.IWindow
centerRelativeTo, dispose, eventWindowActivated, eventWindowClosed, eventWindowClosing, eventWindowDeactivated, eventWindowDeiconified, eventWindowIconified, eventWindowOpened, isActive, isDisposed, pack, toBack, toFront
 
Methods inherited from interface javax.rad.ui.container.IToolBarPanel
addToolBar, addToolBar, getToolBar, getToolBarArea, getToolBarCount, indexOfToolBar, removeAllToolBars, removeToolBar, removeToolBar, setToolBarArea
 
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, eventComponentMoved, eventComponentResized, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getCursor, getEventSource, getFactory, getFont, getForeground, getLocation, getLocationRelativeTo, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, 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, setToolTipText, setVisible
 
Methods inherited from interface javax.rad.ui.IResource
getResource
 

Method Detail

setMaximizable

void setMaximizable(boolean pMaximizable)
Sets whether this internal frame can be maximized by some user action.

Parameters:
pMaximizable - a boolean value, where true means this internal frame can be maximized

isMaximizable

boolean isMaximizable()
Returns whether this internal frame can be maximized by some user action.

Returns:
true if this internal frame can be maximized

setClosable

void setClosable(boolean pClosable)
Sets whether this internal frame can be closed by some user action.

Parameters:
pClosable - a boolean value, where true means this internal frame can be closed

isClosable

boolean isClosable()
Returns whether this internal frame can be closed by some user action.

Returns:
true if this internal frame can be closed

setIconifiable

void setIconifiable(boolean pIconifiable)
Sets whether this internal frame can be iconified by some user action.

Parameters:
pIconifiable - a boolean value, where true means this internal frame can be iconified

isIconifiable

boolean isIconifiable()
Returns whether this internal frame can be iconified by some user action.

Returns:
true if this internal frame can be iconified

close

void close()
Closes this internal frame. If the internal frame is already closed, this method does nothing and returns immediately. Otherwise, this method begins by firing an windowClosing event. This method finishes by making the internal frame invisible and unselected, and then firing an windowClosed event.

See Also:
isClosed(), IWindow.dispose()

isClosed

boolean isClosed()
Returns whether this IInternalFrame is currently closed.

Returns:
true if this internal frame is closed, false otherwise

setModal

void setModal(boolean pModal)
Sets the frame as modal frame. When a modal frame is visible it's not possible to use the underlaying components.

Parameters:
pModal - true to set this internal frame modal, otherwise false

isModal

boolean isModal()
Returns the modal option of the internal frame.

Returns:
true if the frame is modal otherwise false


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.