GNU Classpath (0.95) | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.InternalFrameUI
javax.swing.plaf.basic.BasicInternalFrameUI
public class BasicInternalFrameUI
extends InternalFrameUI
Nested Class Summary | |
protected class |
|
protected class |
|
protected class |
|
protected class |
|
class |
|
class |
|
Field Summary | |
protected MouseInputAdapter |
|
protected ComponentListener |
|
protected JComponent |
|
protected JInternalFrame |
|
protected MouseInputListener |
|
protected LayoutManager |
|
protected JComponent |
|
protected KeyStroke |
|
protected PropertyChangeListener |
|
protected JComponent |
|
protected BasicInternalFrameTitlePane |
|
protected JComponent |
|
Constructor Summary | |
|
Method Summary | |
protected void |
|
protected void |
|
protected MouseInputAdapter |
|
protected ComponentListener |
|
protected DesktopManager |
|
protected JComponent |
|
protected MouseInputListener |
|
protected void |
|
protected LayoutManager |
|
protected JComponent |
|
protected PropertyChangeListener |
|
protected JComponent |
|
static ComponentUI |
|
protected JComponent |
|
protected void |
|
protected void |
|
protected void |
|
protected DesktopManager |
|
JComponent |
|
Dimension |
|
Dimension |
|
JComponent |
|
Dimension |
|
JComponent |
|
JComponent |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
void |
|
boolean |
|
protected boolean |
|
protected void |
|
protected void |
|
protected void |
|
void |
|
protected void |
|
protected void |
|
void |
|
void |
|
void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
void |
|
Methods inherited from class javax.swing.plaf.ComponentUI | |
contains , createUI , getAccessibleChild , getAccessibleChildrenCount , getMaximumSize , getMinimumSize , getPreferredSize , installUI , paint , uninstallUI , update |
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
protected MouseInputAdapter borderListener
The MouseListener that is responsible for dragging and resizing the JInternalFrame in response to MouseEvents.
protected ComponentListener componentListener
The ComponentListener that is responsible for resizing the JInternalFrame in response to ComponentEvents from the JDesktopPane.
protected JComponent eastPane
The JComponent placed at the east region of the JInternalFrame.
protected MouseInputListener glassPaneDispatcher
The MouseListener that is responsible for activating the JInternalFrame when the mouse press activates one of its descendents.
protected LayoutManager internalFrameLayout
The LayoutManager used in the JInternalFrame.
protected JComponent northPane
The JComponent placed at the north region of the JInternalFrame.
protected PropertyChangeListener propertyChangeListener
The PropertyChangeListener that is responsible for listening to PropertyChangeEvents from the JInternalFrame.
protected JComponent southPane
The JComponent placed at the south region of the JInternalFrame.
protected BasicInternalFrameTitlePane titlePane
The TitlePane displayed at the top of the JInternalFrame.
protected JComponent westPane
The JComponent placed at the west region of the JInternalFrame.
public BasicInternalFrameUI(JInternalFrame b)
Creates a new BasicInternalFrameUI object.
- Parameters:
b
- The JInternalFrame this UI will represent.
protected void activateFrame(JInternalFrame f)
This is a convenience method that activates the JInternalFrame.
- Parameters:
f
- The JInternalFrame to activate.
protected void closeFrame(JInternalFrame f)
This is a convenience method that closes the JInternalFrame.
- Parameters:
f
- The JInternalFrame to close.
protected MouseInputAdapter createBorderListener(JInternalFrame w)
This method returns a new BorderListener for the given JInternalFrame.
- Parameters:
w
- The JIntenalFrame to create a BorderListener for.
- Returns:
- A new BorderListener.
protected ComponentListener createComponentListener()
This method returns a new ComponentListener for the JDesktopPane.
- Returns:
- A new ComponentListener.
protected DesktopManager createDesktopManager()
This method returns a default DesktopManager that can be used with this JInternalFrame.
- Returns:
- A default DesktopManager that can be used with this JInternalFrame.
protected JComponent createEastPane(JInternalFrame w)
This method creates the east pane used in the JInternalFrame.
- Parameters:
w
- The JInternalFrame to create an east pane for.
- Returns:
- The east pane.
protected MouseInputListener createGlassPaneDispatcher()
This method returns a new GlassPaneDispatcher.
- Returns:
- A new GlassPaneDispatcher.
protected void createInternalFrameListener()
This method creates a new InternalFrameListener for the JInternalFrame.
protected LayoutManager createLayoutManager()
This method creates a new LayoutManager for the JInternalFrame.
- Returns:
- A new LayoutManager for the JInternalFrame.
protected JComponent createNorthPane(JInternalFrame w)
This method creates the north pane used in the JInternalFrame.
- Parameters:
w
- The JInternalFrame to create a north pane for.
- Returns:
- The north pane.
protected PropertyChangeListener createPropertyChangeListener()
This method creates a new PropertyChangeListener for the JInternalFrame.
- Returns:
- A new PropertyChangeListener for the JInternalFrame.
protected JComponent createSouthPane(JInternalFrame w)
This method creates the south pane used in the JInternalFrame.
- Parameters:
w
- The JInternalFrame to create a south pane for.
- Returns:
- The south pane.
public static ComponentUI createUI(JComponent b)
This method will create a new BasicInternalFrameUI for the given JComponent.
- Overrides:
- createUI in interface ComponentUI
- Parameters:
b
- The JComponent to create a BasicInternalFrameUI for.
- Returns:
- A new BasicInternalFrameUI.
protected JComponent createWestPane(JInternalFrame w)
This method creates the west pane used in the JInternalFrame.
- Parameters:
w
- The JInternalFrame to create a west pane for.
- Returns:
- The west pane.
protected void deactivateFrame(JInternalFrame f)
This is a convenience method that deactivates the JInternalFrame.
- Parameters:
f
- the JInternalFrame to deactivate
protected void deiconifyFrame(JInternalFrame f)
This is a convenience method that deiconifies the JInternalFrame.
- Parameters:
f
- The JInternalFrame to deiconify.
protected void deinstallMouseHandlers(JComponent c)
This method removes the necessary MouseListeners from the given JComponent.
- Parameters:
c
- The JComponent to remove MouseListeners from.
protected DesktopManager getDesktopManager()
This method returns the DesktopManager to use with the JInternalFrame.
- Returns:
- The DesktopManager to use with the JInternalFrame.
public JComponent getEastPane()
This method returns the east pane.
- Returns:
- The east pane.
public Dimension getMaximumSize(JComponent x)
This method returns the maximum size of the given JComponent.
- Overrides:
- getMaximumSize in interface ComponentUI
- Parameters:
x
- The JComponent to find a maximum size for.
- Returns:
- The maximum size.
public Dimension getMinimumSize(JComponent x)
This method returns the minimum size of the given JComponent.
- Overrides:
- getMinimumSize in interface ComponentUI
- Parameters:
x
- The JComponent to find a minimum size for.
- Returns:
- The minimum size.
public JComponent getNorthPane()
This method returns the north pane.
- Returns:
- The north pane.
public Dimension getPreferredSize(JComponent x)
This method returns the preferred size of the given JComponent.
- Overrides:
- getPreferredSize in interface ComponentUI
- Parameters:
x
- The JComponent to find a preferred size for.
- Returns:
- The preferred size.
public JComponent getSouthPane()
This method returns the south pane.
- Returns:
- The south pane.
public JComponent getWestPane()
This method returns the west pane.
- Returns:
- The west pane.
protected void iconifyFrame(JInternalFrame f)
This is a convenience method that iconifies the JInternalFrame.
- Parameters:
f
- The JInternalFrame to iconify.
protected void installComponents()
This method installs the Components for the JInternalFrame.
protected void installDefaults()
This method installs the defaults specified by the look and feel.
protected void installKeyboardActions()
This method installs the keyboard actions for the JInternalFrame.
protected void installListeners()
This method installs the listeners for the JInternalFrame.
protected void installMouseHandlers(JComponent c)
This method installs the necessary MouseListeners from the given JComponent.
- Parameters:
c
- The JComponent to install MouseListeners on.
public void installUI(JComponent c)
This method installs a UI for the JInternalFrame.
- Overrides:
- installUI in interface ComponentUI
- Parameters:
c
- The JComponent to install this UI on.
protected final boolean isKeyBindingRegistered()
DOCUMENT ME!
- Returns:
- DOCUMENT ME!
protected void maximizeFrame(JInternalFrame f)
This is a convenience method that maximizes the JInternalFrame.
- Parameters:
f
- The JInternalFrame to maximize.
protected void minimizeFrame(JInternalFrame f)
This is a convenience method that minimizes the JInternalFrame.
- Parameters:
f
- The JInternalFrame to minimize.
protected void replacePane(JComponent currentPane, JComponent newPane)
This method replaces the currentPane with the newPane. When replacing it also removes the MouseHandlers for the old pane and installs them on the new pane.
- Parameters:
currentPane
- The old pane to remove.newPane
- The new pane to install.
public void setEastPane(JComponent c)
This method sets the east pane to be the given JComponent.
- Parameters:
c
- The new east pane.
protected final void setKeyBindingActive(boolean b)
DOCUMENT ME!
- Parameters:
b
- DOCUMENT ME!
protected final void setKeyBindingRegistered(boolean b)
DOCUMENT ME!
- Parameters:
b
- DOCUMENT ME!
public void setNorthPane(JComponent c)
This method sets the north pane to be the given JComponent.
- Parameters:
c
- The new north pane.
public void setSouthPane(JComponent c)
This method sets the south pane to be the given JComponent.
- Parameters:
c
- The new south pane.
public void setWestPane(JComponent c)
This method sets the west pane to be the given JComponent.
- Parameters:
c
- The new west pane.
protected void uninstallComponents()
This method uninstalls the Components for the JInternalFrame.
protected void uninstallDefaults()
This method uninstalls the defaults for the JInternalFrame.
protected void uninstallKeyboardActions()
This method uninstalls the keyboard actions for the JInternalFrame.
protected void uninstallListeners()
This method uninstalls the listeners for the JInternalFrame.
public void uninstallUI(JComponent c)
This method reverses the work done by installUI.
- Overrides:
- uninstallUI in interface ComponentUI
- Parameters:
c
- The JComponent to uninstall this UI for.
GNU Classpath (0.95) |