APIdia Launch Partner
Top Description Fields Constructors Methods
javax.swing.plaf.multi

public Class MultiSliderUI

extends SliderUI
Class Inheritance
Imports
java.util.Vector, javax.swing.plaf.SliderUI, .ComponentUI, javax.swing.JComponent, java.awt.Graphics, .Dimension, javax.accessibility.Accessible

A multiplexing UI used to combine SliderUIs.

This file was automatically generated by AutoMulti.

Author
Otto Multey

Field Summary

Modifier and TypeField and Description
protected Vector<ComponentUI>
uis

The vector containing the real UIs.

Constructor Summary

AccessConstructor and Description
public
MultiSliderUI()

Constructs a MultiSliderUI.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel
contains
(JComponent a, int b, int c)

Overrides javax.swing.plaf.ComponentUI.contains.

Invokes the contains method on each UI handled by this object.

public static ComponentUI

Returns:

the UI delegate created
createUI
(JComponent
the component to create the UI for
a
)

Hides javax.swing.plaf.ComponentUI.createUI.

Returns a multiplexing UI instance if any of the auxiliary LookAndFeels supports this UI.

public Accessible

Returns:

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel
getAccessibleChild
(JComponent a, int b)

Overrides javax.swing.plaf.ComponentUI.getAccessibleChild.

Invokes the getAccessibleChild method on each UI handled by this object.

public int

Returns:

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel
getAccessibleChildrenCount
(JComponent a)

Overrides javax.swing.plaf.ComponentUI.getAccessibleChildrenCount.

Invokes the getAccessibleChildrenCount method on each UI handled by this object.

public Dimension

Returns:

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel
getMaximumSize
(JComponent a)

Overrides javax.swing.plaf.ComponentUI.getMaximumSize.

Invokes the getMaximumSize method on each UI handled by this object.

public Dimension

Returns:

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel
getMinimumSize
(JComponent a)

Overrides javax.swing.plaf.ComponentUI.getMinimumSize.

Invokes the getMinimumSize method on each UI handled by this object.

public Dimension

Returns:

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel
getPreferredSize
(JComponent a)

Overrides javax.swing.plaf.ComponentUI.getPreferredSize.

Invokes the getPreferredSize method on each UI handled by this object.

public ComponentUI[]

Returns:

an array of the UI delegates
getUIs
()

Returns the list of UIs associated with this multiplexing UI.

public void
installUI(JComponent a)

Overrides javax.swing.plaf.ComponentUI.installUI.

Invokes the installUI method on each UI handled by this object.

public void
paint(Graphics a, JComponent b)

Overrides javax.swing.plaf.ComponentUI.paint.

Invokes the paint method on each UI handled by this object.

public void
uninstallUI(JComponent a)

Overrides javax.swing.plaf.ComponentUI.uninstallUI.

Invokes the uninstallUI method on each UI handled by this object.

public void
update(Graphics a, JComponent b)

Overrides javax.swing.plaf.ComponentUI.update.

Invokes the update method on each UI handled by this object.

Field Detail

uisback to summary
protected Vector<ComponentUI> 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.

Constructor Detail

MultiSliderUIback to summary
public MultiSliderUI()

Constructs a MultiSliderUI.

Method Detail

containsback to summary
public boolean contains(JComponent a, int b, int c)

Overrides javax.swing.plaf.ComponentUI.contains.

Invokes the contains method on each UI handled by this object.

Returns:boolean

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

createUIback to summary
public static ComponentUI createUI(JComponent a)

Hides javax.swing.plaf.ComponentUI.createUI.

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.

Parameters
a:JComponent

the component to create the UI for

Returns:ComponentUI

the UI delegate created

getAccessibleChildback to summary
public Accessible getAccessibleChild(JComponent a, int b)

Overrides javax.swing.plaf.ComponentUI.getAccessibleChild.

Invokes the getAccessibleChild method on each UI handled by this object.

Returns:Accessible

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getAccessibleChildrenCountback to summary
public int getAccessibleChildrenCount(JComponent a)

Overrides javax.swing.plaf.ComponentUI.getAccessibleChildrenCount.

Invokes the getAccessibleChildrenCount method on each UI handled by this object.

Returns:int

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getMaximumSizeback to summary
public Dimension getMaximumSize(JComponent a)

Overrides javax.swing.plaf.ComponentUI.getMaximumSize.

Invokes the getMaximumSize method on each UI handled by this object.

Returns:Dimension

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getMinimumSizeback to summary
public Dimension getMinimumSize(JComponent a)

Overrides javax.swing.plaf.ComponentUI.getMinimumSize.

Invokes the getMinimumSize method on each UI handled by this object.

Returns:Dimension

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getPreferredSizeback to summary
public Dimension getPreferredSize(JComponent a)

Overrides javax.swing.plaf.ComponentUI.getPreferredSize.

Invokes the getPreferredSize method on each UI handled by this object.

Returns:Dimension

the value obtained from the first UI, which is the UI obtained from the default LookAndFeel

getUIsback to summary
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.

Returns:ComponentUI[]

an array of the UI delegates

installUIback to summary
public void installUI(JComponent a)

Overrides javax.swing.plaf.ComponentUI.installUI.

Invokes the installUI method on each UI handled by this object.

paintback to summary
public void paint(Graphics a, JComponent b)

Overrides javax.swing.plaf.ComponentUI.paint.

Invokes the paint method on each UI handled by this object.

uninstallUIback to summary
public void uninstallUI(JComponent a)

Overrides javax.swing.plaf.ComponentUI.uninstallUI.

Invokes the uninstallUI method on each UI handled by this object.

updateback to summary
public void update(Graphics a, JComponent b)

Overrides javax.swing.plaf.ComponentUI.update.

Invokes the update method on each UI handled by this object.