Package org.jdesktop.swingx.icon
Class DefaultIcons
java.lang.Object
org.jdesktop.swingx.icon.DefaultIcons
collects property names for default UI icons defined in javax swing
- Author:
- EUG https://github.com/homebeaver
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
property name for icon respresenting ascending sort, class SortArrowIconstatic final String
property name for TreeClosed.gifstatic final String
static final String
property name for Computer.gifstatic final String
property name for icon respresenting descending sort, class SortArrowIconstatic final String
property name for DetailsView.gifstatic final String
property name for Directory.gifstatic final String
property name for messageType 0 , Error.gifstatic final String
static final String
property name for File.gifstatic final String
property name for FloppyDrive.gifstatic final String
property name for HardDrive.gifstatic final String
property name for HomeFolder.gif , null in LAF Windowsstatic final String
property name for HorizontalSliderThumbIcon - in Metal : MetalIconFactory.getHorizontalSliderThumbIcon() implemented in private static class MetalIconFactory.HorizontalSliderThumbIconstatic final String
property name for messageType 1 , Inform.gifstatic final String
property name for JavaCup16.gif - not in Nimbusstatic final String
property name for TreeLeaf.gifstatic final String
property name for ListView.gifstatic final String
property name for icons/image-failed.pngstatic final String
property name for NewFolder.gifstatic final String
property name for TreeOpen.gifstatic final String
property name for icons/image-delayed.pngstatic final String
property name for messageType 3 , Question.gifstatic final String
property name for UpFolder.gifstatic final String
static final String
property name for messageType 2 , Warn.gif -
Method Summary
-
Field Details
-
PENDING
property name for icons/image-delayed.png- See Also:
-
MISSING
property name for icons/image-failed.png- See Also:
-
ERROR
property name for messageType 0 , Error.gif- See Also:
-
INFORMATION
property name for messageType 1 , Inform.gif- See Also:
-
WARNING
property name for messageType 2 , Warn.gif- See Also:
-
QUESTION
property name for messageType 3 , Question.gif- See Also:
-
DIRECTORY
property name for Directory.gif- See Also:
-
FILE
property name for File.gif- See Also:
-
COMPUTER
property name for Computer.gif- See Also:
-
HARDDRIVE
property name for HardDrive.gif- See Also:
-
FLOPPYDRIVE
property name for FloppyDrive.gif- See Also:
-
NEWFOLDER
property name for NewFolder.gif- See Also:
-
UPFOLDER
property name for UpFolder.gif- See Also:
-
HOMEFOLDER
property name for HomeFolder.gif , null in LAF Windows- See Also:
-
DETAILVIEW
property name for DetailsView.gif- See Also:
-
LISTVIEW
property name for ListView.gif- See Also:
-
ASCENDING
property name for icon respresenting ascending sort, class SortArrowIcon- See Also:
-
DESCENDING
property name for icon respresenting descending sort, class SortArrowIcon- See Also:
-
COLLAPSED
- See Also:
-
EXPANDED
- See Also:
-
OPEN
property name for TreeOpen.gif- See Also:
-
CLOSED
property name for TreeClosed.gif- See Also:
-
LEAF
property name for TreeLeaf.gif- See Also:
-
JAVACUP16
property name for JavaCup16.gif - not in Nimbus- See Also:
-
HORIZONTALTHUMB
property name for HorizontalSliderThumbIcon - in Metal : MetalIconFactory.getHorizontalSliderThumbIcon() implemented in private static class MetalIconFactory.HorizontalSliderThumbIcon- See Also:
-
VERTICALTHUMB
- See Also:
-
-
Method Details
-
getIcon
Returns an Icon from the defaults. If the value for key is not an Icon, null is returned.The result depends on LAF, example: - in WindowsLookAndFeel
getIcon(JAVACUP16)
returns icon with JavaCup16.gif - in MetalLookAndFeelgetIcon(JAVACUP16
returns icon computed by InternalFrameDefaultMenuIcon class - in in Nimbus , MotifgetIcon(JAVACUP16)
returns null- Parameters:
key
- an Object aka UI name specifying the icon- Returns:
- Icon the UI icon for this key
-