public class JMeterUIDefaults extends Object
UIDefaults
properties for on-the-fly LaF updates.
The workflow is as follows:
The sequence enables the components to use extra properties for styling the components
For instance, label.setForeground(Color.black)
should not be used for styling the components
as the black colour might be hard to read in certain themes. That is why the styles should be
named (e.g. LABEL_ERROR_FOREGROUND
), so the actual value could be adapted to a given
theme without making changes to the component code
JFactory
Modifier and Type | Field and Description |
---|---|
static String |
BUTTON_ERROR_FOREGROUND |
static String |
BUTTON_SMALL_FONT |
static String |
CHECKBOX_SMALL_FONT |
static JMeterUIDefaults |
INSTANCE |
static String |
LABEL_BIG_FONT |
static String |
LABEL_ERROR_FONT |
static String |
LABEL_ERROR_FOREGROUND |
static String |
LABEL_SMALL_FONT |
static String |
LABEL_WARNING_FONT |
static String |
LABEL_WARNING_FOREGROUND |
static String |
TABLE_ROW_HEIGHT |
static String |
TEXTAREA_BORDER |
static String |
TEXTFIELD_SMALL_FONT |
static String |
TOOLBAR_SMALL_FONT |
static String |
TREE_ROW_HEIGHT |
public static final String BUTTON_SMALL_FONT
public static final String CHECKBOX_SMALL_FONT
public static final String LABEL_SMALL_FONT
public static final String TEXTFIELD_SMALL_FONT
public static final String TOOLBAR_SMALL_FONT
public static final String LABEL_BIG_FONT
public static final String TEXTAREA_BORDER
public static final String LABEL_WARNING_FONT
public static final String LABEL_WARNING_FOREGROUND
public static final String LABEL_ERROR_FONT
public static final String LABEL_ERROR_FOREGROUND
public static final String BUTTON_ERROR_FOREGROUND
public static final String TABLE_ROW_HEIGHT
public static final String TREE_ROW_HEIGHT
@API(since="5.3", status=INTERNAL) public static final JMeterUIDefaults INSTANCE
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.