public static enum Toolbar.Button extends Enum<Toolbar.Button>
Enum Constant and Description |
---|
about |
addNode |
connect |
deleteNode |
disconnect |
nodeViewers |
refresh |
Modifier and Type | Method and Description |
---|---|
JButton |
createJButton(IconResource iconResource) |
static Toolbar.Button |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Toolbar.Button[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Toolbar.Button connect
public static final Toolbar.Button disconnect
public static final Toolbar.Button refresh
public static final Toolbar.Button addNode
public static final Toolbar.Button deleteNode
public static final Toolbar.Button nodeViewers
public static final Toolbar.Button about
public static Toolbar.Button[] values()
for (Toolbar.Button c : Toolbar.Button.values()) System.out.println(c);
public static Toolbar.Button valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic JButton createJButton(IconResource iconResource)
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.