|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JInternalFrame
com.sibvisions.rad.ui.swing.ext.JVxInternalFrame
public class JVxInternalFrame
The JVxInternalFrame
extends a JInternalFrame
to
support the modal mode and event queue blocking, like modal dialogs.
Nested Class Summary | |
---|---|
static class |
JVxInternalFrame.ModalComponentListener
The ModalComponentListener resizes the transparent panel for the modal desktop. |
Nested classes/interfaces inherited from class javax.swing.JInternalFrame |
---|
JInternalFrame.AccessibleJInternalFrame, JInternalFrame.JDesktopIcon |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JInternalFrame |
---|
closable, CONTENT_PANE_PROPERTY, desktopIcon, FRAME_ICON_PROPERTY, frameIcon, GLASS_PANE_PROPERTY, iconable, IS_CLOSED_PROPERTY, IS_ICON_PROPERTY, IS_MAXIMUM_PROPERTY, IS_SELECTED_PROPERTY, isClosed, isIcon, isMaximum, isSelected, LAYERED_PANE_PROPERTY, maximizable, MENU_BAR_PROPERTY, resizable, ROOT_PANE_PROPERTY, rootPane, rootPaneCheckingEnabled, title, TITLE_PROPERTY |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
JVxInternalFrame()
Creates a non-resizable, non-closable, non-maximizable, non-iconifiable JVxInternalFrame with no title. |
|
JVxInternalFrame(String pTitle)
Creates a non-resizable, non-closable, non-maximizable, non-iconifiable JVxInternalFrame with the specified title. |
Method Summary | |
---|---|
void |
addNotify()
|
void |
dispose()
Makes this internal frame: invisible unselected closed If the frame is not already closed, this method fires an INTERNAL_FRAME_CLOSED event. |
boolean |
isFocusStored()
Checks if the frame has stored a focus component. |
boolean |
isKeepBlocking()
Returns the blocking option of the internal frame. |
boolean |
isModal()
Returns the modal option of the internal frame. |
void |
pack()
|
void |
remove(Component pComponent)
|
void |
removeNotify()
Notifies this component that it no longer has a parent component. |
void |
restoreFocus()
Sets the focus to an already stored component or does nothing if no focus component is stored. |
void |
setBackground(Color pColor)
|
void |
setClosable(boolean pClosable)
|
void |
setEnabled(boolean pEnabled)
|
void |
setFrameIcon(Icon pIcon)
|
void |
setIcon(boolean pIcon)
|
void |
setKeepBlocking(boolean pKeepBlocking)
Sets the modal internal frame blocking. |
void |
setLocationRelativeTo(Component pComponent)
Sets and calculates the position of this internal frame relative to another component. |
void |
setModal(boolean pModal)
Sets the frame as modal frame. |
void |
setResizable(boolean pResizable)
|
void |
setRootPane(JRootPane pContainer)
|
void |
setSelected(boolean pSelected)
|
void |
setTitle(String pTitle)
|
void |
setUI(InternalFrameUI pUi)
|
void |
setVisible(boolean pVisible)
Makes the component visible or invisible. |
void |
storeFocus()
Stores the current focus owner in an internal component. |
void |
toBack()
|
void |
toFront()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JVxInternalFrame()
JVxInternalFrame
with no title.
public JVxInternalFrame(String pTitle)
JVxInternalFrame
with the specified title.
Note that passing in a null
title
results in
unspecified behavior and possibly an exception.
pTitle
- the non-null
String
to display in the title barMethod Detail |
---|
public void setUI(InternalFrameUI pUi)
setUI
in class JInternalFrame
public void setBackground(Color pColor)
setBackground
in class JComponent
public void pack()
pack
in class JInternalFrame
public void setVisible(boolean pVisible)
setVisible
in class JComponent
pVisible
- true
to make the component visible;
false
to make it invisiblepublic void remove(Component pComponent)
remove
in class JInternalFrame
public void addNotify()
addNotify
in class JComponent
public void removeNotify()
removeNotify
in class JComponent
public void dispose()
INTERNAL_FRAME_CLOSED
event. The results of
invoking this method are similar to setClosed(true)
,
but dispose
always succeeds in closing the
internal frame and does not fire an INTERNAL_FRAME_CLOSING
event.
dispose
in class JInternalFrame
InternalFrameEvent.INTERNAL_FRAME_CLOSED
,
setVisible(boolean)
,
setSelected(boolean)
,
JInternalFrame.setClosed(boolean)
public void setSelected(boolean pSelected) throws PropertyVetoException
setSelected
in class JInternalFrame
PropertyVetoException
public void setEnabled(boolean pEnabled)
setEnabled
in class JComponent
public void setResizable(boolean pResizable)
setResizable
in class JInternalFrame
public void setFrameIcon(Icon pIcon)
setFrameIcon
in class JInternalFrame
public void setTitle(String pTitle)
setTitle
in class JInternalFrame
public void setClosable(boolean pClosable)
setClosable
in class JInternalFrame
public void setIcon(boolean pIcon) throws PropertyVetoException
setIcon
in class JInternalFrame
PropertyVetoException
public void setRootPane(JRootPane pContainer)
setRootPane
in class JInternalFrame
public void toFront()
toFront
in class JInternalFrame
public void toBack()
toBack
in class JInternalFrame
public void setModal(boolean pModal)
pModal
- true
to set this internal frame modal,
otherwise false
public boolean isModal()
true
if the frame is modal otherwise false
public void setKeepBlocking(boolean pKeepBlocking)
pKeepBlocking
- true
to block all mouse events for all
lightweight children, otherwise false
public boolean isKeepBlocking()
true
if the internal frame uses mouse event blockingpublic void setLocationRelativeTo(Component pComponent)
pComponent
- the component to calculate the positionpublic void storeFocus()
public boolean isFocusStored()
true
if the frame has stored an available focus componentpublic void restoreFocus()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |