|
S-PLUS Connect/Java v1.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.insightful.controls.SplusControlMetrics
public class SplusControlMetrics
Singleton which calculates the standard Dimension for a control based on the size of the font used in dialogs. This provides consistent sizing of dialog controls.
Field Summary | |
---|---|
static int |
HEIGHT_SPACE
|
static int |
HGAP
|
static int |
WIDTH_SPACE
Extra space added to groups in addition to space for control |
Method Summary | |
---|---|
static Dimension |
getFullDimension()
Gets the full dimension of a control. |
static Dimension |
getLabelDimension()
Gets the standard label dimension. |
static boolean |
isLongLabel(JLabel label)
Function to determine whether a long label is needed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int WIDTH_SPACE
public static final int HEIGHT_SPACE
public static final int HGAP
Method Detail |
---|
public static final Dimension getLabelDimension()
public static final Dimension getFullDimension()
public static boolean isLongLabel(JLabel label)
|
S-PLUS Connect/Java v1.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |