javax.swing.plaf.multi

Class MultiInternalFrameUI


public class MultiInternalFrameUI
extends InternalFrameUI

A multiplexing UI used to combine InternalFrameUIs.

This file was automatically generated by AutoMulti.

Field Summary

protected Vector<E>
uis
The vector containing the real UIs.

Method Summary

boolean
contains(JComponent a, int b, int c)
Invokes the contains method on each UI handled by this object.
static ComponentUI
createUI(JComponent a)
Returns a multiplexing UI instance if any of the auxiliary LookAndFeels supports this UI.
Accessible
getAccessibleChild(JComponent a, int b)
Invokes the getAccessibleChild method on each UI handled by this object.
int
getAccessibleChildrenCount(JComponent a)
Invokes the getAccessibleChildrenCount method on each UI handled by this object.
Dimension
getMaximumSize(JComponent a)
Invokes the getMaximumSize method on each UI handled by this object.
Dimension
getMinimumSize(JComponent a)
Invokes the getMinimumSize method on each UI handled by this object.
Dimension
getPreferredSize(JComponent a)
Invokes the getPreferredSize method on each UI handled by this object.
ComponentUI[]
getUIs()
Returns the list of UIs associated with this multiplexing UI.
void
installUI(JComponent a)
Invokes the installUI method on each UI handled by this object.
void
paint(Graphics a, JComponent b)
Invokes the paint method on each UI handled by this object.
void
uninstallUI(JComponent a)
Invokes the uninstallUI method on each UI handled by this object.
void
update(Graphics a, JComponent b)
Invokes the update method on each UI handled by this object.

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

Field Details

uis

protected Vector<E> uis
The vector containing the real UIs. This is populated in the call to createUI, and can be obtained by calling the getUIs method. The first element is guaranteed to be the real UI obtained from the default look and feel.

Method Details

contains

public boolean contains(JComponent a,
                        int b,
                        int c)
Invokes the contains method on each UI handled by this object.
Overrides:
contains in interface ComponentUI
Returns:
the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

createUI

public static ComponentUI createUI(JComponent a)
Returns a multiplexing UI instance if any of the auxiliary LookAndFeels supports this UI. Otherwise, just returns the UI object obtained from the default LookAndFeel.
Overrides:
createUI in interface ComponentUI

getAccessibleChild

public Accessible getAccessibleChild(JComponent a,
                                     int b)
Invokes the getAccessibleChild method on each UI handled by this object.
Overrides:
getAccessibleChild in interface ComponentUI
Returns:
the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getAccessibleChildrenCount

public int getAccessibleChildrenCount(JComponent a)
Invokes the getAccessibleChildrenCount method on each UI handled by this object.
Overrides:
getAccessibleChildrenCount in interface ComponentUI
Returns:
the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getMaximumSize

public Dimension getMaximumSize(JComponent a)
Invokes the getMaximumSize method on each UI handled by this object.
Overrides:
getMaximumSize in interface ComponentUI
Returns:
the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getMinimumSize

public Dimension getMinimumSize(JComponent a)
Invokes the getMinimumSize method on each UI handled by this object.
Overrides:
getMinimumSize in interface ComponentUI
Returns:
the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getPreferredSize

public Dimension getPreferredSize(JComponent a)
Invokes the getPreferredSize method on each UI handled by this object.
Overrides:
getPreferredSize in interface ComponentUI
Returns:
the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getUIs

public ComponentUI[] getUIs()
Returns the list of UIs associated with this multiplexing UI. This allows processing of the UIs by an application aware of multiplexing UIs on components.

installUI

public void installUI(JComponent a)
Invokes the installUI method on each UI handled by this object.
Overrides:
installUI in interface ComponentUI

paint

public void paint(Graphics a,
                  JComponent b)
Invokes the paint method on each UI handled by this object.
Overrides:
paint in interface ComponentUI

uninstallUI

public void uninstallUI(JComponent a)
Invokes the uninstallUI method on each UI handled by this object.
Overrides:
uninstallUI in interface ComponentUI

update

public void update(Graphics a,
                   JComponent b)
Invokes the update method on each UI handled by this object.
Overrides:
update in interface ComponentUI