|
||||||||||
| 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 |
|---|
javax.swing.JInternalFrame.AccessibleJInternalFrame, javax.swing.JInternalFrame.JDesktopIcon |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
javax.swing.JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.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(java.lang.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. |
java.awt.Container |
getContentPane()
|
java.awt.Component |
getMostRecentFocusOwner()
|
java.awt.Component |
getPreviousFocusOwner()
Gets the previous focus owner. |
TranslationMap |
getTranslation()
Gets the translation mapping. |
boolean |
isDisposed()
Gets whether this frame was disposed. |
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. |
boolean |
isSelected()
|
void |
pack()
|
void |
remove(java.awt.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 |
restoreSubcomponentFocus()
|
void |
setBackground(java.awt.Color pColor)
|
void |
setClosable(boolean pClosable)
|
void |
setEnabled(boolean pEnabled)
|
void |
setFrameIcon(javax.swing.Icon pIcon)
|
void |
setIcon(boolean pIcon)
|
void |
setKeepBlocking(boolean pKeepBlocking)
Sets the modal internal frame blocking. |
void |
setLocationRelativeTo(java.awt.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(javax.swing.JRootPane pContainer)
|
void |
setSelected(boolean pSelected)
|
void |
setTitle(java.lang.String pTitle)
|
void |
setTranslation(TranslationMap pTranslation)
Sets the translation mapping. |
void |
setUI(javax.swing.plaf.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 javax.swing.JInternalFrame |
|---|
addImpl, addInternalFrameListener, createRootPane, doDefaultCloseAction, fireInternalFrameEvent, getAccessibleContext, getDefaultCloseOperation, getDesktopIcon, getDesktopPane, getFocusCycleRootAncestor, getFocusOwner, getFrameIcon, getGlassPane, getInternalFrameListeners, getJMenuBar, getLastCursor, getLayer, getLayeredPane, getMenuBar, getNormalBounds, getRootPane, getTitle, getUI, getUIClassID, getWarningString, hide, isClosable, isClosed, isFocusCycleRoot, isIcon, isIconifiable, isMaximizable, isMaximum, isResizable, isRootPaneCheckingEnabled, moveToBack, moveToFront, paintComponent, paramString, removeInternalFrameListener, reshape, setClosed, setContentPane, setCursor, setDefaultCloseOperation, setDesktopIcon, setFocusCycleRoot, setGlassPane, setIconifiable, setJMenuBar, setLayer, setLayer, setLayeredPane, setLayout, setMaximizable, setMaximum, setMenuBar, setNormalBounds, setRootPaneCheckingEnabled, show, updateUI |
| Methods inherited from class javax.swing.JComponent |
|---|
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
|---|
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
|---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus, transferFocusUpCycle |
| 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(java.lang.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 bar| Method Detail |
|---|
public void setUI(javax.swing.plaf.InternalFrameUI pUi)
setUI in class javax.swing.JInternalFramepublic void setBackground(java.awt.Color pColor)
setBackground in class javax.swing.JComponentpublic void pack()
pack in class javax.swing.JInternalFramepublic void setVisible(boolean pVisible)
setVisible in class javax.swing.JComponentpVisible - true to make the component visible;
false to make it invisiblepublic void remove(java.awt.Component pComponent)
remove in class javax.swing.JInternalFramepublic void addNotify()
addNotify in class javax.swing.JComponentpublic void removeNotify()
removeNotify in class javax.swing.JComponentpublic 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 javax.swing.JInternalFrameInternalFrameEvent.INTERNAL_FRAME_CLOSED,
setVisible(boolean),
setSelected(boolean),
JInternalFrame.setClosed(boolean)public java.awt.Component getMostRecentFocusOwner()
getMostRecentFocusOwner in class javax.swing.JInternalFramepublic java.awt.Container getContentPane()
getContentPane in interface javax.swing.RootPaneContainergetContentPane in class javax.swing.JInternalFramepublic boolean isSelected()
isSelected in class javax.swing.JInternalFrame
public void setSelected(boolean pSelected)
throws java.beans.PropertyVetoException
setSelected in class javax.swing.JInternalFramejava.beans.PropertyVetoExceptionpublic void setEnabled(boolean pEnabled)
setEnabled in class javax.swing.JComponentpublic void setResizable(boolean pResizable)
setResizable in class javax.swing.JInternalFramepublic void setFrameIcon(javax.swing.Icon pIcon)
setFrameIcon in class javax.swing.JInternalFramepublic void setTitle(java.lang.String pTitle)
setTitle in class javax.swing.JInternalFramepublic void setClosable(boolean pClosable)
setClosable in class javax.swing.JInternalFrame
public void setIcon(boolean pIcon)
throws java.beans.PropertyVetoException
setIcon in class javax.swing.JInternalFramejava.beans.PropertyVetoExceptionpublic void setRootPane(javax.swing.JRootPane pContainer)
setRootPane in class javax.swing.JInternalFramepublic void toFront()
toFront in class javax.swing.JInternalFramepublic void toBack()
toBack in class javax.swing.JInternalFramepublic void restoreSubcomponentFocus()
restoreSubcomponentFocus in class javax.swing.JInternalFramepublic java.awt.Component getPreviousFocusOwner()
public void setModal(boolean pModal)
pModal - true to set this internal frame modal,
otherwise falsepublic boolean isModal()
true if the frame is modal otherwise falsepublic void setKeepBlocking(boolean pKeepBlocking)
pKeepBlocking - true to block all mouse events for all
lightweight children, otherwise falsepublic boolean isKeepBlocking()
true if the internal frame uses mouse event blockingpublic void setLocationRelativeTo(java.awt.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()
public boolean isDisposed()
true if this frame was disposed, false otherwisepublic void setTranslation(TranslationMap pTranslation)
pTranslation - the translation mappingpublic TranslationMap getTranslation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||