public class ComponentUtility extends Object
| Constructor and Description |
|---|
ComponentUtility() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getMaximumHeight(JComponent component) |
static int |
getMaximumWidth(JComponent component) |
static int |
getMinimumHeight(JComponent component) |
static int |
getMinimumWidth(JComponent component) |
static int |
getPreferredHeight(JComponent component) |
static int |
getPreferredWidth(JComponent component) |
static void |
setHeight(JComponent component,
int height) |
static void |
setMaximumHeight(JComponent component,
int height) |
static void |
setMaximumWidth(JComponent component,
int width) |
static void |
setMinimumHeight(JComponent component,
int height) |
static void |
setMinimumWidth(JComponent component,
int width) |
static void |
setPreferredHeight(JComponent component,
int height) |
static void |
setPreferredWidth(JComponent component,
int width) |
static void |
setWidth(JComponent component,
int width) |
public static void setWidth(JComponent component, int width)
public static void setHeight(JComponent component, int height)
public static int getPreferredWidth(JComponent component)
public static void setPreferredWidth(JComponent component, int width)
public static int getMinimumWidth(JComponent component)
public static void setMinimumWidth(JComponent component, int width)
public static int getMaximumWidth(JComponent component)
public static void setMaximumWidth(JComponent component, int width)
public static int getPreferredHeight(JComponent component)
public static void setPreferredHeight(JComponent component, int height)
public static int getMinimumHeight(JComponent component)
public static void setMinimumHeight(JComponent component, int height)
public static int getMaximumHeight(JComponent component)
public static void setMaximumHeight(JComponent component, int height)
Copyright © 2017. All rights reserved.