com.ezware.dialog.task
Enum TaskDialog.StandardIcon
java.lang.Object
java.lang.Enum<TaskDialog.StandardIcon>
com.ezware.dialog.task.TaskDialog.StandardIcon
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<TaskDialog.StandardIcon>, javax.swing.Icon
- Enclosing class:
- TaskDialog
public static enum TaskDialog.StandardIcon
- extends java.lang.Enum<TaskDialog.StandardIcon>
- implements javax.swing.Icon
Set of standard dialog icons. Look and Feel dependent
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
INFO
public static final TaskDialog.StandardIcon INFO
QUESTION
public static final TaskDialog.StandardIcon QUESTION
WARNING
public static final TaskDialog.StandardIcon WARNING
ERROR
public static final TaskDialog.StandardIcon ERROR
values
public static TaskDialog.StandardIcon[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (TaskDialog.StandardIcon c : TaskDialog.StandardIcon.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TaskDialog.StandardIcon valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight in interface javax.swing.Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth in interface javax.swing.Icon
paintIcon
public void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
- Specified by:
paintIcon in interface javax.swing.Icon
Copyright © 2010 ezware. All Rights Reserved.