public class Tools extends Object
| Modifier and Type | Field and Description |
|---|---|
static Font |
BIG_FONT |
static String |
fcsFontInString |
static Color |
greenColor |
static Font |
HUGE_FONT |
static Insets |
insets_big |
static Insets |
insets_small |
static Insets |
insets_std |
static Color |
NICE_PINK |
static String |
NONE |
static Dimension |
preferedPanelSize |
static String |
TIRETS |
static String |
UNKNOWN_ERROR |
static String |
UNKNOWN_STATE |
static String |
UNKNOWN_VALUE |
static Font |
VERY_BIG_FONT |
static String |
ZERO_VALUE |
| Constructor and Description |
|---|
Tools() |
| Modifier and Type | Method and Description |
|---|---|
static Color |
getFilterPresenceColor(String filterPresenceStatus) |
static String |
getShortComponentName(String fullPathName) |
static void |
resetTable(JTable table)
reset a table : remove all rows.
|
static int |
toInt(Map<String,String> config,
String parameterName)
Return value of parameterName found in map config if it exits.
|
public static final Color greenColor
public static final Color NICE_PINK
public static final String fcsFontInString
public static final Font BIG_FONT
public static final Font HUGE_FONT
public static final Font VERY_BIG_FONT
public static final Insets insets_std
public static final Insets insets_big
public static final Insets insets_small
public static final String ZERO_VALUE
public static final String UNKNOWN_VALUE
public static final String UNKNOWN_STATE
public static final String UNKNOWN_ERROR
public static final String NONE
public static final String TIRETS
public static final Dimension preferedPanelSize
public static Color getFilterPresenceColor(String filterPresenceStatus)
filterPresenceStatus - public static int toInt(Map<String,String> config, String parameterName)
config - parameterName - public static void resetTable(JTable table)
table - Copyright © 2022 LSST. All rights reserved.