| Modifier and Type | Class and Description |
|---|---|
| private abstract static class | EffectUtil.
Provides generic functionality for an effect's configurable value. |
| private static class | EffectUtil.
Provides generic functionality for a dialog to configure a value. |
| Modifier and Type | Field and Description |
|---|---|
| private static BufferedImage |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static ConfigurableEffect. | booleanValue(String name, final boolean currentValue, final String description)
Returns a value that represents a boolean. |
| public static ConfigurableEffect. | |
| public static ConfigurableEffect. | floatValue(String name, final float currentValue, final float min, final float max, final String description)
Returns a value that represents a float, from 0 to 1 (inclusive). |
| public static Color | |
| public static BufferedImage | |
| public static ConfigurableEffect. | |
| public static ConfigurableEffect. | optionValue(String name, final String currentValue, final String[][]
The first array has an entry for each option. Each entry is either a String[1] that is both the display value
and actual value, or a String[2] whose first element is the display value and second element is the actual
value. options, final String description)Returns a value that represents a fixed number of options. |
| public static String |
| scratchImage | back to summary |
|---|---|
| private static BufferedImage scratchImage | |
| EffectUtil | back to summary |
|---|---|
| public EffectUtil() | |
| booleanValue | back to summary |
|---|---|
| public static ConfigurableEffect. Returns a value that represents a boolean. | |
| colorValue | back to summary |
|---|---|
| public static ConfigurableEffect. Returns a value that represents a color. | |
| floatValue | back to summary |
|---|---|
| public static ConfigurableEffect. Returns a value that represents a float, from 0 to 1 (inclusive). | |
| fromString | back to summary |
|---|---|
| public static Color fromString(String rgb) Converts a string to a color. | |
| getScratchImage | back to summary |
|---|---|
| public static BufferedImage getScratchImage() Returns an image that can be used by effects as a temp image. | |
| intValue | back to summary |
|---|---|
| public static ConfigurableEffect. Returns a value that represents an int. | |
| optionValue | back to summary |
|---|---|
| public static ConfigurableEffect. Returns a value that represents a fixed number of options. All options are strings.
| |
| toString | back to summary |
|---|---|
| public static String toString(Color color) Convers a color to a string. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getName()
Implements com. Returns the name of the value. |
| public String | getString()
Implements com. Gets the string representation of the value. |
| public void | setString(String value)
Implements com. Sets the string representation of the value. |
| public boolean | |
| public String |
| DefaultValue | back to summary |
|---|---|
| public DefaultValue(String name, String value) | |
| getName | back to summary |
|---|---|
| public String getName() Implements com. Doc from com. Returns the name of the value. | |
| getString | back to summary |
|---|---|
| public String getString() Implements com. Doc from com. Gets the string representation of the value. | |
| setString | back to summary |
|---|---|
| public void setString(String value) Implements com. Doc from com. Sets the string representation of the value. | |
| showValueDialog | back to summary |
|---|---|
| public boolean showValueDialog(final JComponent component, String description) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| public boolean |
| Access | Constructor and Description |
|---|---|
| public |
| okPressed | back to summary |
|---|---|
| public boolean okPressed | |
| ValueDialog | back to summary |
|---|---|
| public ValueDialog(JComponent component, String name, String description) | |