|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.toolbox.ui.widget.util.WidgetUtilities
public final class WidgetUtilities
| Constructor Summary | |
|---|---|
WidgetUtilities()
|
|
| Method Summary | |
|---|---|
static void |
equalizeSizeConstraints(java.awt.Component[] components)
Sets the minimum, preferred, and maximum sizes of the specified list of Components to the maximum of their widths and heights for each JComponent in the list. |
static void |
equalizeSizeConstraints(java.util.List components)
Sets the minimum, preferred, and maximum sizes of the specified list of Components to the maximum of
their widths and heights for each JComponent in the list. |
static java.awt.Dimension |
getMaximumPreferredSize(java.awt.Component[] components)
A convenience method that calls #getMaximumPreferredSize(components, reset) passing false as the reset parameter. |
static java.awt.Dimension |
getMaximumPreferredSize(java.awt.Component[] components,
boolean reset)
Returns a Dimension representing the maximum preferred width and height of the Components within the specified list. |
static java.awt.Dimension |
getMaximumPreferredSize(java.util.List components)
A convenience method that calls #getMaximumPreferredSize(components, reset) passing false as the reset parameter. |
static java.awt.Dimension |
getMaximumPreferredSize(java.util.List components,
boolean reset)
Returns a Dimension representing the maximum preferred width and height of the Components within the
specified list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WidgetUtilities()
| Method Detail |
|---|
public static void equalizeSizeConstraints(java.awt.Component[] components)
JComponent in the list.
buttons - A list of Componentspublic static void equalizeSizeConstraints(java.util.List components)
Components to the maximum of
their widths and heights for each JComponent in the list.
buttons - A list of Componentspublic static java.awt.Dimension getMaximumPreferredSize(java.awt.Component[] components)
#getMaximumPreferredSize(components, reset) passing false as the reset parameter.
public static java.awt.Dimension getMaximumPreferredSize(java.awt.Component[] components,
boolean reset)
components - The list of Componentsreset - Indicates whether the preferred size of each JComponent should be unset if currently set
public static java.awt.Dimension getMaximumPreferredSize(java.util.List components)
#getMaximumPreferredSize(components, reset) passing false as the reset parameter.
public static java.awt.Dimension getMaximumPreferredSize(java.util.List components,
boolean reset)
Components within the
specified list.
components - The list of Componentsreset - Indicates whether the preferred size of each JComponent should be unset if currently set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||