public class IconSet
extends java.lang.Object
IconSet
is a class which works with JIDE Basic Icon Set (http://www.jidesoft.com/icon/).
It defines 141 icons in 12 sections in this class. We could add more in the future. All JIDE icon set will follow the
naming conversion as defined here.IconSetManager
Modifier and Type | Class and Description |
---|---|
static class |
IconSet.Direction |
static class |
IconSet.Edit |
static class |
IconSet.File |
static class |
IconSet.FindReplace |
static class |
IconSet.Hardware |
static class |
IconSet.Help |
static class |
IconSet.MediaControl |
static class |
IconSet.Movement |
static class |
IconSet.Overlay |
static class |
IconSet.Software |
static class |
IconSet.Text |
static class |
IconSet.View |
Constructor and Description |
---|
IconSet(java.lang.String iconSetName,
int[] availableSizes,
java.lang.String packageName)
Creates an IconSet.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getAvailableSizes()
Gets all the available sizes.
|
java.lang.String |
getIconSetName()
Gets the icon set name.
|
int |
getNextAvailableSize(int size)
Gets the next available size of the requested size.
|
java.lang.String |
getPackageName()
Gets the package name.
|
public IconSet(java.lang.String iconSetName, int[] availableSizes, java.lang.String packageName)
iconSetName
- the icon set nameavailableSizes
- all available sizes. It must be in order from the smallest to the biggest.packageName
- the package name where the icons exist. All icons in JIDE icon set are defined under
"com.jidesoft.icons.public java.lang.String getIconSetName()
public int getNextAvailableSize(int size)
size
- the requested sizepublic int[] getAvailableSizes()
public java.lang.String getPackageName()