| Modifier and Type | Field and Description |
|---|---|
| private ActionListener | |
| private ActionListener | |
| private JFrame | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Component | getComponent()
Implements sun. The JInternalFrame or JFrame this wraps |
| public Container | |
| private void | |
| public void | |
| public void | setActivatedActionListener(ActionListener l)
Implements sun. Set an ActionListener to be invoked when the underlying window is activated ("windowActivated" event of a WindowListener). |
| public void | |
| public void | setClosable(boolean closable)
Implements sun. Largely for use with JInternalFrames but also affects, for example, the default close operation for JFrames |
| public void | setClosingActionListener(ActionListener l)
Implements sun. Set an ActionListener to be invoked when the underlying window is closing ("windowClosing" event of a WindowListener). |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| activatedActionListener | back to summary |
|---|---|
| private ActionListener activatedActionListener | |
| closingActionListener | back to summary |
|---|---|
| private ActionListener closingActionListener | |
| frame | back to summary |
|---|---|
| private JFrame frame | |
| hasWindowListener | back to summary |
|---|---|
| private boolean hasWindowListener | |
| JFrameWrapper | back to summary |
|---|---|
| public JFrameWrapper(JFrame frame) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements sun. | |
| getComponent | back to summary |
|---|---|
| public Component getComponent() Implements sun. Doc from sun. The JInternalFrame or JFrame this wraps | |
| getContentPane | back to summary |
|---|---|
| public Container getContentPane() Implements sun. | |
| maybeInstallWindowListener | back to summary |
|---|---|
| private void maybeInstallWindowListener() | |
| pack | back to summary |
|---|---|
| public void pack() Implements sun. | |
| setActivatedActionListener | back to summary |
|---|---|
| public void setActivatedActionListener(ActionListener l) Implements sun. Doc from sun. Set an ActionListener to be invoked when the underlying window is activated ("windowActivated" event of a WindowListener). Note the ActionEvent passed to this listener may be null. | |
| setBackground | back to summary |
|---|---|
| public void setBackground(Color color) Implements sun. | |
| setClosable | back to summary |
|---|---|
| public void setClosable(boolean closable) Implements sun. Doc from sun. Largely for use with JInternalFrames but also affects, for example, the default close operation for JFrames | |
| setClosingActionListener | back to summary |
|---|---|
| public void setClosingActionListener(ActionListener l) Implements sun. Doc from sun. Set an ActionListener to be invoked when the underlying window is closing ("windowClosing" event of a WindowListener). Note the ActionEvent passed to this listener may be null. | |
| setResizable | back to summary |
|---|---|
| public void setResizable(boolean resizable) Implements sun. | |
| setSize | back to summary |
|---|---|
| public void setSize(int x, int y) Implements sun. | |
| setVisible | back to summary |
|---|---|
| public void setVisible(boolean visible) Implements sun. | |
| show | back to summary |
|---|---|
| public void show() | |
| toFront | back to summary |
|---|---|
| public void toFront() Implements sun. Doc from sun. Move this frame to the front. Should change focus to the frame if possible. | |