|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Dialog javax.swing.JDialog com.alee.laf.rootpane.WebDialog
public class WebDialog
This JDialog extenstion class provides some additional methods and options to manipulate dialog behavior.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JDialog |
---|
javax.swing.JDialog.AccessibleJDialog |
Nested classes/interfaces inherited from class java.awt.Dialog |
---|
java.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityType |
Nested classes/interfaces inherited from class java.awt.Window |
---|
java.awt.Window.AccessibleAWTWindow |
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 | |
---|---|
protected boolean |
closeOnFocusLoss
Whether should close dialog on focus loss or not. |
protected DefaultFocusTracker |
focusTracker
Window focus tracker. |
Fields inherited from class javax.swing.JDialog |
---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Dialog |
---|
DEFAULT_MODALITY_TYPE |
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 | |
---|---|
WebDialog()
|
|
WebDialog(java.awt.Component owner)
|
|
WebDialog(java.awt.Component owner,
java.lang.String title)
|
|
WebDialog(java.awt.Dialog owner)
|
|
WebDialog(java.awt.Dialog owner,
boolean modal)
|
|
WebDialog(java.awt.Dialog owner,
java.lang.String title)
|
|
WebDialog(java.awt.Dialog owner,
java.lang.String title,
boolean modal)
|
|
WebDialog(java.awt.Dialog owner,
java.lang.String title,
boolean modal,
java.awt.GraphicsConfiguration gc)
|
|
WebDialog(java.awt.Frame owner)
|
|
WebDialog(java.awt.Frame owner,
boolean modal)
|
|
WebDialog(java.awt.Frame owner,
java.lang.String title)
|
|
WebDialog(java.awt.Frame owner,
java.lang.String title,
boolean modal)
|
|
WebDialog(java.awt.Frame owner,
java.lang.String title,
boolean modal,
java.awt.GraphicsConfiguration gc)
|
|
WebDialog(java.awt.Window owner)
|
|
WebDialog(java.awt.Window owner,
java.awt.Dialog.ModalityType modalityType)
|
|
WebDialog(java.awt.Window owner,
java.lang.String title)
|
|
WebDialog(java.awt.Window owner,
java.lang.String title,
java.awt.Dialog.ModalityType modalityType)
|
|
WebDialog(java.awt.Window owner,
java.lang.String title,
java.awt.Dialog.ModalityType modalityType,
java.awt.GraphicsConfiguration gc)
|
Method Summary | ||
---|---|---|
WebDialog |
center()
Centers window relative to screen center. |
|
WebDialog |
center(java.awt.Component relativeTo)
Centers window relative to the specified component center. |
|
WebDialog |
center(java.awt.Component relativeTo,
int width,
int height)
Changes window size and centers it relative to the specified component center. |
|
WebDialog |
center(int width,
int height)
Changes window size and centers it relative to screen center. |
|
java.lang.String |
getEmptyTitleText()
|
|
int |
getInactiveShadeWidth()
|
|
java.lang.String |
getLanguageContainerKey()
Returns language container key for container which implements this interface. |
|
int |
getMaxTitleWidth()
|
|
java.awt.Color |
getMiddleBg()
|
|
WebResizeCorner |
getResizeCorner()
|
|
int |
getRound()
|
|
int |
getShadeWidth()
|
|
javax.swing.JComponent |
getTitleComponent()
|
|
java.awt.Color |
getTopBg()
|
|
javax.swing.ImageIcon |
getWatermark()
|
|
WebRootPaneUI |
getWebRootPaneUI()
|
|
WebButtonGroup |
getWindowButtons()
|
|
float |
getWindowOpacity()
Returns window opacity. |
|
protected void |
initialize()
Additional initializtion of WebDialog settings. |
|
boolean |
isAttachButtons()
|
|
boolean |
isCloseOnFocusLoss()
Returns whether should close dialog on focus loss or not. |
|
boolean |
isDrawWatermark()
|
|
boolean |
isGroupButtons()
|
|
boolean |
isLanguageSet()
Returns whether this component registered in LanguageManager or not. |
|
boolean |
isShowCloseButton()
|
|
boolean |
isShowMaximizeButton()
|
|
boolean |
isShowMenuBar()
|
|
boolean |
isShowMinimizeButton()
|
|
boolean |
isShowResizeCorner()
|
|
boolean |
isShowTitleComponent()
|
|
boolean |
isShowWindowButtons()
|
|
boolean |
isWindowOpaque()
Returns whether window is opaque or not. |
|
void |
loadSettings()
Loads saved settings into the component if it is registered. |
|
WebDialog |
packAndCenter()
Packs and centers window relative to old position. |
|
WebDialog |
packAndCenter(boolean animate)
Packs and centers window relative to old position. |
|
WebDialog |
packToHeight(int height)
Packs window to its preffered width and specified height. |
|
WebDialog |
packToWidth(int width)
Packs window to its preffered height and specified width. |
|
void |
registerSettings(SettingsProcessor settingsProcessor)
Registers component for settings auto-save. |
|
void |
registerSettings(java.lang.String key)
Registers component for settings auto-save. |
|
void |
registerSettings(java.lang.String key,
boolean loadInitialSettings,
boolean applySettingsChanges)
Registers component for settings auto-save. |
|
|
registerSettings(java.lang.String key,
java.lang.Class<T> defaultValueClass)
Registers component for settings auto-save. |
|
|
registerSettings(java.lang.String key,
java.lang.Class<T> defaultValueClass,
boolean loadInitialSettings,
boolean applySettingsChanges)
Registers component for settings auto-save. |
|
void |
registerSettings(java.lang.String key,
java.lang.Object defaultValue)
Registers component for settings auto-save. |
|
void |
registerSettings(java.lang.String key,
java.lang.Object defaultValue,
boolean loadInitialSettings,
boolean applySettingsChanges)
Registers component for settings auto-save. |
|
void |
registerSettings(java.lang.String group,
java.lang.String key)
Registers component for settings auto-save. |
|
|
registerSettings(java.lang.String group,
java.lang.String key,
java.lang.Class<T> defaultValueClass)
Registers component for settings auto-save. |
|
|
registerSettings(java.lang.String group,
java.lang.String key,
java.lang.Class<T> defaultValueClass,
boolean loadInitialSettings,
boolean applySettingsChanges)
Registers component for settings auto-save. |
|
void |
registerSettings(java.lang.String group,
java.lang.String key,
java.lang.Object defaultValue)
Registers component for settings auto-save. |
|
void |
registerSettings(java.lang.String group,
java.lang.String key,
java.lang.Object defaultValue,
boolean loadInitialSettings,
boolean applySettingsChanges)
Registers component for settings auto-save. |
|
void |
removeLanguage()
Unregisters component from LanguageManager. |
|
void |
removeLanguageContainerKey()
Removes language container key for container which implements this interface. |
|
void |
removeLanguageUpdater()
Unregisters any custom language updater set for this component. |
|
void |
saveSettings()
Saves component settings. |
|
void |
setAttachButtons(boolean attachButtons)
|
|
void |
setCloseOnFocusLoss(boolean closeOnFocusLoss)
Sets whether should close dialog on focus loss or not. |
|
void |
setDrawWatermark(boolean drawWatermark)
|
|
void |
setEmptyTitleText(java.lang.String text)
|
|
void |
setGroupButtons(boolean groupButtons)
|
|
void |
setInactiveShadeWidth(int inactiveShadeWidth)
|
|
void |
setLanguage(java.lang.String key,
java.lang.Object... data)
Registers component in LanguageManager under specified key and with specified formatting data. |
|
void |
setLanguageContainerKey(java.lang.String key)
Sets language container key for container which implements this interface. |
|
void |
setLanguageUpdater(LanguageUpdater updater)
Registers custom language updater for this component. |
|
void |
setMaxTitleWidth(int width)
|
|
void |
setMiddleBg(java.awt.Color middleBg)
|
|
void |
setRound(int round)
|
|
void |
setShadeWidth(int shadeWidth)
|
|
void |
setShowCloseButton(boolean showCloseButton)
|
|
void |
setShowMaximizeButton(boolean showMaximizeButton)
|
|
void |
setShowMenuBar(boolean showMenuBar)
|
|
void |
setShowMinimizeButton(boolean showMinimizeButton)
|
|
void |
setShowResizeCorner(boolean showResizeCorner)
|
|
void |
setShowTitleComponent(boolean showTitleComponent)
|
|
void |
setShowWindowButtons(boolean showWindowButtons)
|
|
void |
setTitleComponent(javax.swing.JComponent titleComponent)
|
|
void |
setTopBg(java.awt.Color topBg)
|
|
void |
setWatermark(javax.swing.ImageIcon watermark)
|
|
WebDialog |
setWindowOpacity(float opacity)
Sets window opacity if that option is supported by the underlying system. |
|
WebDialog |
setWindowOpaque(boolean opaque)
Sets window opaque if that option is supported by the underlying system. |
|
void |
unregisterSettings()
Unregisters component from settings auto-save. |
|
void |
updateLanguage(java.lang.Object... data)
Updates component language and formatting data. |
|
void |
updateLanguage(java.lang.String key,
java.lang.Object... data)
Changes component language key and updates its language and formatting data. |
Methods inherited from class javax.swing.JDialog |
---|
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 |
Methods inherited from class java.awt.Dialog |
---|
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack |
Methods inherited from class java.awt.Window |
---|
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, toFront |
Methods inherited from class java.awt.Container |
---|
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, 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, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, 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, isOpaque, 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, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected boolean closeOnFocusLoss
protected DefaultFocusTracker focusTracker
Constructor Detail |
---|
public WebDialog()
public WebDialog(java.awt.Frame owner)
public WebDialog(java.awt.Frame owner, boolean modal)
public WebDialog(java.awt.Frame owner, java.lang.String title)
public WebDialog(java.awt.Frame owner, java.lang.String title, boolean modal)
public WebDialog(java.awt.Frame owner, java.lang.String title, boolean modal, java.awt.GraphicsConfiguration gc)
public WebDialog(java.awt.Dialog owner)
public WebDialog(java.awt.Dialog owner, boolean modal)
public WebDialog(java.awt.Dialog owner, java.lang.String title)
public WebDialog(java.awt.Dialog owner, java.lang.String title, boolean modal)
public WebDialog(java.awt.Dialog owner, java.lang.String title, boolean modal, java.awt.GraphicsConfiguration gc)
public WebDialog(java.awt.Component owner)
public WebDialog(java.awt.Component owner, java.lang.String title)
public WebDialog(java.awt.Window owner)
public WebDialog(java.awt.Window owner, java.awt.Dialog.ModalityType modalityType)
public WebDialog(java.awt.Window owner, java.lang.String title)
public WebDialog(java.awt.Window owner, java.lang.String title, java.awt.Dialog.ModalityType modalityType)
public WebDialog(java.awt.Window owner, java.lang.String title, java.awt.Dialog.ModalityType modalityType, java.awt.GraphicsConfiguration gc)
Method Detail |
---|
protected void initialize()
public boolean isCloseOnFocusLoss()
public void setCloseOnFocusLoss(boolean closeOnFocusLoss)
closeOnFocusLoss
- whether should close dialog on focus loss or notpublic java.awt.Color getTopBg()
public void setTopBg(java.awt.Color topBg)
public java.awt.Color getMiddleBg()
public void setMiddleBg(java.awt.Color middleBg)
public int getShadeWidth()
public void setShadeWidth(int shadeWidth)
public int getInactiveShadeWidth()
public void setInactiveShadeWidth(int inactiveShadeWidth)
public int getRound()
public void setRound(int round)
public boolean isDrawWatermark()
public void setDrawWatermark(boolean drawWatermark)
public javax.swing.ImageIcon getWatermark()
public void setWatermark(javax.swing.ImageIcon watermark)
public int getMaxTitleWidth()
public void setMaxTitleWidth(int width)
public java.lang.String getEmptyTitleText()
public void setEmptyTitleText(java.lang.String text)
public javax.swing.JComponent getTitleComponent()
public void setTitleComponent(javax.swing.JComponent titleComponent)
public WebButtonGroup getWindowButtons()
public WebResizeCorner getResizeCorner()
public boolean isShowResizeCorner()
public void setShowResizeCorner(boolean showResizeCorner)
public boolean isShowTitleComponent()
public void setShowTitleComponent(boolean showTitleComponent)
public boolean isShowWindowButtons()
public void setShowWindowButtons(boolean showWindowButtons)
public boolean isShowMinimizeButton()
public void setShowMinimizeButton(boolean showMinimizeButton)
public boolean isShowMaximizeButton()
public void setShowMaximizeButton(boolean showMaximizeButton)
public boolean isShowCloseButton()
public void setShowCloseButton(boolean showCloseButton)
public boolean isGroupButtons()
public void setGroupButtons(boolean groupButtons)
public boolean isAttachButtons()
public void setAttachButtons(boolean attachButtons)
public boolean isShowMenuBar()
public void setShowMenuBar(boolean showMenuBar)
public WebRootPaneUI getWebRootPaneUI()
public void setLanguage(java.lang.String key, java.lang.Object... data)
setLanguage
in interface LanguageMethods
key
- language record keydata
- formatting datapublic void updateLanguage(java.lang.Object... data)
updateLanguage
in interface LanguageMethods
data
- new formatting datapublic void updateLanguage(java.lang.String key, java.lang.Object... data)
updateLanguage
in interface LanguageMethods
key
- new language keydata
- new formatting datapublic void removeLanguage()
removeLanguage
in interface LanguageMethods
public boolean isLanguageSet()
isLanguageSet
in interface LanguageMethods
public void setLanguageUpdater(LanguageUpdater updater)
setLanguageUpdater
in interface LanguageMethods
updater
- component language updaterpublic void removeLanguageUpdater()
removeLanguageUpdater
in interface LanguageMethods
public void setLanguageContainerKey(java.lang.String key)
setLanguageContainerKey
in interface LanguageContainerMethods
key
- language container keypublic void removeLanguageContainerKey()
removeLanguageContainerKey
in interface LanguageContainerMethods
public java.lang.String getLanguageContainerKey()
getLanguageContainerKey
in interface LanguageContainerMethods
public void registerSettings(java.lang.String key)
registerSettings
in interface SettingsMethods
key
- component settings keypublic <T extends DefaultValue> void registerSettings(java.lang.String key, java.lang.Class<T> defaultValueClass)
registerSettings
in interface SettingsMethods
T
- default value typekey
- component settings keydefaultValueClass
- component default value classDefaultValue
public void registerSettings(java.lang.String key, java.lang.Object defaultValue)
registerSettings
in interface SettingsMethods
key
- component settings keydefaultValue
- component default valuepublic void registerSettings(java.lang.String group, java.lang.String key)
registerSettings
in interface SettingsMethods
group
- component settings groupkey
- component settings keypublic <T extends DefaultValue> void registerSettings(java.lang.String group, java.lang.String key, java.lang.Class<T> defaultValueClass)
registerSettings
in interface SettingsMethods
T
- default value typegroup
- component settings groupkey
- component settings keydefaultValueClass
- component default value classDefaultValue
public void registerSettings(java.lang.String group, java.lang.String key, java.lang.Object defaultValue)
registerSettings
in interface SettingsMethods
group
- component settings groupkey
- component settings keydefaultValue
- component default valuepublic void registerSettings(java.lang.String key, boolean loadInitialSettings, boolean applySettingsChanges)
registerSettings
in interface SettingsMethods
key
- component settings keyloadInitialSettings
- whether to load initial available settings into the component or notapplySettingsChanges
- whether to apply settings changes to the component or notpublic <T extends DefaultValue> void registerSettings(java.lang.String key, java.lang.Class<T> defaultValueClass, boolean loadInitialSettings, boolean applySettingsChanges)
registerSettings
in interface SettingsMethods
T
- default value typekey
- component settings keydefaultValueClass
- component default value classloadInitialSettings
- whether to load initial available settings into the component or notapplySettingsChanges
- whether to apply settings changes to the component or notDefaultValue
public void registerSettings(java.lang.String key, java.lang.Object defaultValue, boolean loadInitialSettings, boolean applySettingsChanges)
registerSettings
in interface SettingsMethods
key
- component settings keydefaultValue
- component default valueloadInitialSettings
- whether to load initial available settings into the component or notapplySettingsChanges
- whether to apply settings changes to the component or notpublic <T extends DefaultValue> void registerSettings(java.lang.String group, java.lang.String key, java.lang.Class<T> defaultValueClass, boolean loadInitialSettings, boolean applySettingsChanges)
registerSettings
in interface SettingsMethods
T
- default value typegroup
- component settings groupkey
- component settings keydefaultValueClass
- component default value classloadInitialSettings
- whether to load initial available settings into the component or notapplySettingsChanges
- whether to apply settings changes to the component or notDefaultValue
public void registerSettings(java.lang.String group, java.lang.String key, java.lang.Object defaultValue, boolean loadInitialSettings, boolean applySettingsChanges)
registerSettings
in interface SettingsMethods
group
- component settings groupkey
- component settings keydefaultValue
- component default valueloadInitialSettings
- whether to load initial available settings into the component or notapplySettingsChanges
- whether to apply settings changes to the component or notpublic void registerSettings(SettingsProcessor settingsProcessor)
registerSettings
in interface SettingsMethods
settingsProcessor
- component settings processorpublic void unregisterSettings()
unregisterSettings
in interface SettingsMethods
public void loadSettings()
loadSettings
in interface SettingsMethods
public void saveSettings()
saveSettings
in interface SettingsMethods
public WebDialog setWindowOpaque(boolean opaque)
setWindowOpaque
in interface WindowMethods<WebDialog>
opaque
- whether should make window opaque or notpublic boolean isWindowOpaque()
isWindowOpaque
in interface WindowMethods<WebDialog>
public WebDialog setWindowOpacity(float opacity)
setWindowOpacity
in interface WindowMethods<WebDialog>
opacity
- new window opacitypublic float getWindowOpacity()
getWindowOpacity
in interface WindowMethods<WebDialog>
public WebDialog center()
center
in interface WindowMethods<WebDialog>
public WebDialog center(java.awt.Component relativeTo)
center
in interface WindowMethods<WebDialog>
relativeTo
- component used to center window
public WebDialog center(int width, int height)
center
in interface WindowMethods<WebDialog>
width
- new window widthheight
- new window height
public WebDialog center(java.awt.Component relativeTo, int width, int height)
center
in interface WindowMethods<WebDialog>
relativeTo
- component used to center windowwidth
- new window widthheight
- new window height
public WebDialog packToWidth(int width)
packToWidth
in interface WindowMethods<WebDialog>
width
- new window width
public WebDialog packToHeight(int height)
packToHeight
in interface WindowMethods<WebDialog>
height
- new window height
public WebDialog packAndCenter()
packAndCenter
in interface WindowMethods<WebDialog>
public WebDialog packAndCenter(boolean animate)
packAndCenter
in interface WindowMethods<WebDialog>
animate
- whether should animate window size changes or not
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |