public class ToolButtonFactory extends Object
ToolButtonFactory
can be used to create tool bar buttons which have a consistent look and feel.Modifier and Type | Field and Description |
---|---|
static Color |
SELECTED_BORDER_COLOR |
Constructor and Description |
---|
ToolButtonFactory() |
Modifier and Type | Method and Description |
---|---|
static AbstractButton |
createButton(Action action,
boolean toggle) |
static AbstractButton |
createButton(Icon icon,
boolean toggle) |
static ImageIcon |
createRolloverIcon(ImageIcon imageIcon) |
static JComponent |
createToolBarSeparator() |
public static final Color SELECTED_BORDER_COLOR
public static AbstractButton createButton(Icon icon, boolean toggle)
public static AbstractButton createButton(Action action, boolean toggle)
public static JComponent createToolBarSeparator()
Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.