ResizableSupport
, ImageObserver
, MenuContainer
, Serializable
, Accessible
, RootPaneContainer
, WindowConstants
public class ResizableDialog extends JDialog implements ResizableSupport
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Container.AccessibleAWTContainer
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType
JDialog.AccessibleJDialog
Window.AccessibleAWTWindow, Window.Type
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
DEFAULT_MODALITY_TYPE
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
accessibleContext, rootPane, rootPaneCheckingEnabled
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
Constructor | Description |
---|---|
ResizableDialog() |
|
ResizableDialog(Dialog owner) |
|
ResizableDialog(Dialog owner,
boolean modal) |
|
ResizableDialog(Dialog owner,
String title) |
|
ResizableDialog(Dialog owner,
String title,
boolean modal) |
|
ResizableDialog(Dialog owner,
String title,
boolean modal,
GraphicsConfiguration gc) |
|
ResizableDialog(Frame owner) |
|
ResizableDialog(Frame owner,
boolean modal) |
|
ResizableDialog(Frame owner,
String title) |
|
ResizableDialog(Frame owner,
String title,
boolean modal) |
|
ResizableDialog(Frame owner,
String title,
boolean modal,
GraphicsConfiguration gc) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
beginResizing() |
|
protected void |
endResizing() |
|
Border |
getBorder() |
Gets the border of the resizable window.
|
Resizable |
getResizable() |
Gets the underlying Resizable.
|
Component |
getRoutingComponent() |
|
protected void |
initComponents() |
Initializes the resizable window.
|
boolean |
isRoutingKeyStrokes() |
|
protected void |
resizing() |
|
void |
setBorder(Border border) |
Sets the border of the resizable window.
|
void |
setRoutingKeyStrokes(boolean routingKeyStrokes) |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setMixingCutoutShape, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, setVisible, show, toBack
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFront
public ResizableDialog() throws HeadlessException
HeadlessException
public ResizableDialog(Frame owner) throws HeadlessException
HeadlessException
public ResizableDialog(Frame owner, boolean modal) throws HeadlessException
HeadlessException
public ResizableDialog(Frame owner, String title) throws HeadlessException
HeadlessException
public ResizableDialog(Frame owner, String title, boolean modal) throws HeadlessException
HeadlessException
public ResizableDialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc)
public ResizableDialog(Dialog owner) throws HeadlessException
HeadlessException
public ResizableDialog(Dialog owner, boolean modal) throws HeadlessException
HeadlessException
public ResizableDialog(Dialog owner, String title) throws HeadlessException
HeadlessException
public ResizableDialog(Dialog owner, String title, boolean modal) throws HeadlessException
HeadlessException
public ResizableDialog(Dialog owner, String title, boolean modal, GraphicsConfiguration gc) throws HeadlessException
HeadlessException
protected void initComponents()
protected void beginResizing()
protected void resizing()
protected void endResizing()
public void setBorder(Border border)
setBorder
in interface ResizableSupport
border
- the border.public Border getBorder()
UIManagerLookup.getBorder("Resizable.resizeBorder")
will be used.getBorder
in interface ResizableSupport
public Resizable getResizable()
getResizable
in interface ResizableSupport
public Component getRoutingComponent()
public void setRoutingKeyStrokes(boolean routingKeyStrokes)
public boolean isRoutingKeyStrokes()