public class MultiFrame
extends java.lang.Object
Constructor and Description |
---|
MultiFrame()
ctor
|
MultiFrame(javax.swing.JFrame frame)
ctor
|
MultiFrame(javax.swing.JInternalFrame internalFrame)
ctor
|
MultiFrame(java.lang.String title)
ctor
|
Modifier and Type | Method and Description |
---|---|
void |
addWindowListener(java.awt.event.WindowListener l)
wrapper method
|
void |
dispose()
dispose of the component
|
java.awt.Rectangle |
getBounds()
wrapper method
|
java.awt.Component |
getComponent()
Return the component.
|
java.awt.Container |
getContainer()
Get the container
|
java.awt.Container |
getContentPane()
Get the content pane of the component
|
javax.swing.JFrame |
getFrame()
access the JFrame
|
javax.swing.JInternalFrame |
getInternalFrame()
Access the internal frame
|
java.awt.Point |
getLocation()
wrapper method
|
java.awt.Dimension |
getSize()
wrapper method
|
int |
getState()
wrapper method
|
java.lang.String |
getTitle()
Get the title
|
java.awt.Window |
getWindow()
Finds the Window we are a part of
|
boolean |
isShowing()
wrapper method
|
boolean |
isVisible()
wrapper method
|
void |
pack()
wrapper method
|
void |
removeWindowListener(java.awt.event.WindowListener l)
wrapper method
|
void |
setBounds(java.awt.Rectangle bounds)
wrapper method
|
void |
setCursor(java.awt.Cursor cursor)
Set the cursor
|
void |
setDefaultCloseOperation(int operation)
wrapper method
|
void |
setIconImage(java.awt.Image icon)
wrapper method
|
void |
setJMenuBar(javax.swing.JMenuBar menuBar)
wrapper method
|
void |
setLocation(int x,
int y)
wrapper method
|
void |
setSize(java.awt.Dimension size)
wrapper method
|
void |
setState(int state)
wrapper method
|
void |
setTitle(java.lang.String title)
Set the title
|
void |
setVisible(boolean visible)
set visibility of the component
|
void |
show()
Show the component
|
void |
toFront()
wrapper method
|
static void |
useDesktopPane(javax.swing.JDesktopPane desktopPane)
Set the global desktopPane.
|
public MultiFrame()
public MultiFrame(java.lang.String title)
title
- Create a JFrame with the given titlepublic MultiFrame(javax.swing.JFrame frame)
frame
- The framepublic MultiFrame(javax.swing.JInternalFrame internalFrame)
internalFrame
- The internal framepublic static void useDesktopPane(javax.swing.JDesktopPane desktopPane)
desktopPane
- desktop panepublic void show()
public void dispose()
public void setVisible(boolean visible)
visible
- visiblepublic java.awt.Container getContentPane()
public java.awt.Container getContainer()
public void setCursor(java.awt.Cursor cursor)
cursor
- cursorpublic void setState(int state)
state
- statepublic void setTitle(java.lang.String title)
title
- The titlepublic java.lang.String getTitle()
public javax.swing.JFrame getFrame()
public javax.swing.JInternalFrame getInternalFrame()
public java.awt.Window getWindow()
public void pack()
public void setDefaultCloseOperation(int operation)
operation
- operationpublic void addWindowListener(java.awt.event.WindowListener l)
l
- listenerpublic void removeWindowListener(java.awt.event.WindowListener l)
l
- _more_public void setJMenuBar(javax.swing.JMenuBar menuBar)
menuBar
- _more_public java.awt.Rectangle getBounds()
public void setBounds(java.awt.Rectangle bounds)
bounds
- _more_public void setIconImage(java.awt.Image icon)
icon
- _more_public void toFront()
public java.awt.Component getComponent()
public boolean isVisible()
public boolean isShowing()
public java.awt.Point getLocation()
public void setLocation(int x, int y)
x
- xy
- ypublic void setSize(java.awt.Dimension size)
size
- size_public java.awt.Dimension getSize()
public int getState()