org.diylc.images
Enum IconLoader

java.lang.Object
  extended by java.lang.Enum<IconLoader>
      extended by org.diylc.images.IconLoader
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IconLoader>

public enum IconLoader
extends java.lang.Enum<IconLoader>

Loads image resources as Icons.

Author:
Branislav Stojkovic

Enum Constant Summary
About
           
Add
           
Back
           
BlackBoard
           
BOM
           
Bug
           
Chest
           
Component
           
Copy
           
CSV
           
Cut
           
Delete
           
DiskBlue
           
DocumentEdit
           
DocumentPlainYellow
           
Donate
           
EditComponent
           
ElementsSelection
           
Error
           
Excel
           
Exit
           
Faq
           
FolderOut
           
FormGreen
           
Front
           
Garbage
           
Gears
           
Group
           
HTML
           
IconLarge
           
IconMedium
           
IconSmall
           
IdCard
           
IdCardAdd
           
Image
           
LightBulbOff
           
LightBulbOn
           
Manual
           
MoveSmall
           
NavigateCheck
           
NotebookAdd
           
Paste
           
PDF
           
Pens
           
PhotoScenery
           
Plugin
           
Print
           
SaveAs
           
Selection
           
Size
           
Sort
           
TraceMask
           
Undo
           
Ungroup
           
Upload
           
Warning
           
WindowColors
           
WindowGear
           
Wrench
           
ZoomSmall
           
 
Method Summary
 javax.swing.Icon getIcon()
           
 java.awt.Image getImage()
           
static IconLoader valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IconLoader[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Delete

public static final IconLoader Delete

Add

public static final IconLoader Add

FolderOut

public static final IconLoader FolderOut

Garbage

public static final IconLoader Garbage

DiskBlue

public static final IconLoader DiskBlue

SaveAs

public static final IconLoader SaveAs

Exit

public static final IconLoader Exit

DocumentPlainYellow

public static final IconLoader DocumentPlainYellow

PhotoScenery

public static final IconLoader PhotoScenery

LightBulbOn

public static final IconLoader LightBulbOn

LightBulbOff

public static final IconLoader LightBulbOff

NotebookAdd

public static final IconLoader NotebookAdd

FormGreen

public static final IconLoader FormGreen

Gears

public static final IconLoader Gears

About

public static final IconLoader About

WindowColors

public static final IconLoader WindowColors

WindowGear

public static final IconLoader WindowGear

NavigateCheck

public static final IconLoader NavigateCheck

Undo

public static final IconLoader Undo

Error

public static final IconLoader Error

Warning

public static final IconLoader Warning

ZoomSmall

public static final IconLoader ZoomSmall

MoveSmall

public static final IconLoader MoveSmall

Print

public static final IconLoader Print

PDF

public static final IconLoader PDF

Excel

public static final IconLoader Excel

CSV

public static final IconLoader CSV

HTML

public static final IconLoader HTML

Image

public static final IconLoader Image

Cut

public static final IconLoader Cut

Copy

public static final IconLoader Copy

Paste

public static final IconLoader Paste

Selection

public static final IconLoader Selection

BOM

public static final IconLoader BOM

BlackBoard

public static final IconLoader BlackBoard

IdCard

public static final IconLoader IdCard

IdCardAdd

public static final IconLoader IdCardAdd

Chest

public static final IconLoader Chest

Upload

public static final IconLoader Upload

Wrench

public static final IconLoader Wrench

Group

public static final IconLoader Group

Ungroup

public static final IconLoader Ungroup

TraceMask

public static final IconLoader TraceMask

Faq

public static final IconLoader Faq

Component

public static final IconLoader Component

Plugin

public static final IconLoader Plugin

Manual

public static final IconLoader Manual

Donate

public static final IconLoader Donate

Bug

public static final IconLoader Bug

IconLarge

public static final IconLoader IconLarge

IconMedium

public static final IconLoader IconMedium

IconSmall

public static final IconLoader IconSmall

DocumentEdit

public static final IconLoader DocumentEdit

EditComponent

public static final IconLoader EditComponent

Size

public static final IconLoader Size

Front

public static final IconLoader Front

Back

public static final IconLoader Back

Pens

public static final IconLoader Pens

Sort

public static final IconLoader Sort

ElementsSelection

public static final IconLoader ElementsSelection
Method Detail

values

public static IconLoader[] 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 (IconLoader c : IconLoader.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IconLoader 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

getIcon

public javax.swing.Icon getIcon()

getImage

public java.awt.Image getImage()