|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ezware.oxbow.swingbits.popup.PopupWindow
public abstract class PopupWindow
Nested Class Summary | |
---|---|
class |
PopupWindow.CommandAction
Simple action to for the popup window. |
Constructor Summary | |
---|---|
PopupWindow(boolean resizable)
|
Method Summary | |
---|---|
protected void |
beforeHide()
|
protected void |
beforeShow()
|
protected abstract JComponent |
buildContent()
Override this method to add content yo the owner. |
Dimension |
getDefaultSize()
|
Dimension |
getPreferredSize()
|
void |
hide()
Hides popup |
void |
setPreferredSize(Dimension preferredSize)
|
void |
show(Component invoker,
int x,
int y)
Shows Popup in predefined location |
void |
show(Component invoker,
Point location)
Shows popup in predefined location |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PopupWindow(boolean resizable)
Method Detail |
---|
public final Dimension getDefaultSize()
public final Dimension getPreferredSize()
public final void setPreferredSize(Dimension preferredSize)
protected abstract JComponent buildContent()
owner
- public void show(Component invoker, int x, int y)
invoker
- x
- y
- public void show(Component invoker, Point location)
invoker
- location
- public final void hide()
protected void beforeShow()
protected void beforeHide()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |