public class HidingDialogPanel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
outCount |
Constructor and Description |
---|
HidingDialogPanel(int startLocation,
HidingDialogComponent dialogComponent) |
Modifier and Type | Method and Description |
---|---|
int |
getAutoHideTime()
The time to wait before hiding the dialog after
the mouse has moved off of it
|
static java.awt.Insets |
getDefaultButtonInsets() |
HidingDialog |
getHidingDialog() |
HidingDialogComponent |
getHidingDialogComponent() |
float |
getOpacity() |
javax.swing.JButton |
getShowButton() |
javax.swing.JComponent |
getSizingComponent() |
int |
getStartLocation() |
boolean |
isAutoHide()
Should the dialog automatically disappear when the mouse moves off it ?
|
boolean |
isAutoShow()
? auto show the dialog as soon as the mouse moves over the showButton
|
boolean |
isModality() |
void |
setAutoHide(boolean autoHide)
Should the dialog automatically disappear when the mouse moves off it ?
|
void |
setAutoHideTime(int autoHideTime)
The time to wait before hiding the dialog after
the mouse has moved off of it
|
void |
setAutoShow(boolean autoShow)
Set to auto show the dialog as soon as the mouse moves over the showButton
|
void |
setDialogPosition() |
void |
setModality(boolean modality) |
void |
setOpacity(float opacity) |
void |
setSizingComponent(javax.swing.JComponent sizingComponent) |
void |
setStartLocation(int startLocation) |
void |
showHidingDialog(boolean show)
show the hiding dialog
|
public HidingDialogPanel(int startLocation, HidingDialogComponent dialogComponent)
public HidingDialogComponent getHidingDialogComponent()
public javax.swing.JComponent getSizingComponent()
public void setSizingComponent(javax.swing.JComponent sizingComponent)
sizingComponent
- the sizingComponent to setpublic int getStartLocation()
public void showHidingDialog(boolean show)
public HidingDialog getHidingDialog()
public void setDialogPosition()
public void setStartLocation(int startLocation)
startLocation
- the startLocation to setpublic javax.swing.JButton getShowButton()
public int getAutoHideTime()
public void setAutoHideTime(int autoHideTime)
autoHideTime
- the autoHideTime to set in millisecondspublic boolean isAutoShow()
public void setAutoShow(boolean autoShow)
autoShow
- the autoShow to setpublic boolean isAutoHide()
public void setAutoHide(boolean autoHide)
autoHide
- the autoHide to setpublic float getOpacity()
public void setOpacity(float opacity)
opacity
- the opacity to setpublic boolean isModality()
public void setModality(boolean modality)
modality
- the modality to setpublic static java.awt.Insets getDefaultButtonInsets()