public class MultiColorChooserUI extends ColorChooserUI
ColorChooserUIs.
This file was automatically generated by AutoMulti.
| Modifier and Type | Field and Description |
|---|---|
protected Vector |
uis
The vector containing the real UIs.
|
| Constructor and Description |
|---|
MultiColorChooserUI()
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(JComponent
Invokes the
contains method on each UI handled by this object.
|
static ComponentUI |
createUI(JComponent
Returns a multiplexing UI instance if any of the auxiliary
LookAndFeels supports this UI.
|
Accessible |
getAccessibleChild(JComponent
Invokes the
getAccessibleChild method on each UI handled by this object.
|
int |
getAccessibleChildrenCount(JComponent
Invokes the
getAccessibleChildrenCount method on each UI handled by this object.
|
Dimension |
getMaximumSize(JComponent
Invokes the
getMaximumSize method on each UI handled by this object.
|
Dimension |
getMinimumSize(JComponent
Invokes the
getMinimumSize method on each UI handled by this object.
|
Dimension |
getPreferredSize(JComponent
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
Invokes the
installUI method on each UI handled by this object.
|
void |
paint(Graphics
Invokes the
paint method on each UI handled by this object.
|
void |
uninstallUI(JComponent
Invokes the
uninstallUI method on each UI handled by this object.
|
void |
update(Graphics
Invokes the
update method on each UI handled by this object.
|
getBaseline, getBaselineResizeBehaviorprotected Vectoruis
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.
public ComponentUI[] getUIs()
public boolean contains(JComponenta, int b, int c)
contains method on each UI handled by this object.
contains in class
ComponentUI
a - the component where the
x,y location is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
b - the
x coordinate of the point
c - the
y coordinate of the point
LookAndFeel
JComponent.contains(int, int) ,
Component.contains(int, int)
public void update(Graphicsa, JComponent b)
update method on each UI handled by this object.
update in class
ComponentUI
a - the
Graphics context in which to paint
b - the component being painted; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
ComponentUI.paint(java.awt.Graphics, javax.swing.JComponent) ,
JComponent.paintComponent(java.awt.Graphics)
public static ComponentUIcreateUI(JComponent a)
LookAndFeels supports this UI. Otherwise, just returns the UI object obtained from the default
LookAndFeel.
public void installUI(JComponenta)
installUI method on each UI handled by this object.
installUI in class
ComponentUI
a - the component where this UI delegate is being installed
ComponentUI.uninstallUI(javax.swing.JComponent) ,
JComponent.setUI(javax.swing.plaf.ComponentUI) ,
JComponent.updateUI()
public void uninstallUI(JComponenta)
uninstallUI method on each UI handled by this object.
uninstallUI in class
ComponentUI
a - the component from which this UI delegate is being removed; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
ComponentUI.installUI(javax.swing.JComponent) ,
JComponent.updateUI()
public void paint(Graphicsa, JComponent b)
paint method on each UI handled by this object.
paint in class
ComponentUI
a - the
Graphics context in which to paint
b - the component being painted; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)
public DimensiongetPreferredSize(JComponent a)
getPreferredSize method on each UI handled by this object.
getPreferredSize in class
ComponentUI
a - the component whose preferred size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
LookAndFeel
JComponent.getPreferredSize() ,
LayoutManager.preferredLayoutSize(java.awt.Container)
public DimensiongetMinimumSize(JComponent a)
getMinimumSize method on each UI handled by this object.
getMinimumSize in class
ComponentUI
a - the component whose minimum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
LookAndFeel
JComponent.getMinimumSize() ,
LayoutManager.minimumLayoutSize(java.awt.Container) ,
ComponentUI.getPreferredSize(javax.swing.JComponent)
public DimensiongetMaximumSize(JComponent a)
getMaximumSize method on each UI handled by this object.
getMaximumSize in class
ComponentUI
a - the component whose maximum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
LookAndFeel
JComponent.getMaximumSize() ,
LayoutManager2.maximumLayoutSize(java.awt.Container)
public int getAccessibleChildrenCount(JComponenta)
getAccessibleChildrenCount method on each UI handled by this object.
getAccessibleChildrenCount in class
ComponentUI
LookAndFeel
ComponentUI.getAccessibleChild(javax.swing.JComponent, int)
public AccessiblegetAccessibleChild(JComponent a, int b)
getAccessibleChild method on each UI handled by this object.
getAccessibleChild in class
ComponentUI
b - zero-based index of child
LookAndFeel
ComponentUI.getAccessibleChildrenCount(javax.swing.JComponent)