|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.opengl.gui.config.IconConfig
@EditorTypes(value={IconConfig.Image.class,IconConfig.ColorizedImage.class,IconConfig.Rotated.class,IconConfig.Blank.class})
public abstract class IconConfigContains an icon configuration.
| Nested Class Summary | |
|---|---|
static class |
IconConfig.Blank
A blank icon. |
static class |
IconConfig.ColorizedImage
A colorized image icon. |
static class |
IconConfig.Image
An image icon. |
static class |
IconConfig.Rotated
A rotated icon. |
| Constructor Summary | |
|---|---|
IconConfig()
|
|
| Method Summary | |
|---|---|
Icon |
getIcon(GlContext ctx)
Returns the icon corresponding to this config. |
static Image |
getImage(GlContext ctx,
String file,
ColorizationConfig[] colorizations)
Retrieves the specified image, applying the desired colorizations. |
void |
getUpdateResources(HashSet<String> paths)
Adds the icon's update resources to the provided set. |
void |
invalidate()
Invalidates any cached data. |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IconConfig()
| Method Detail |
|---|
public static Image getImage(GlContext ctx,
String file,
ColorizationConfig[] colorizations)
public void getUpdateResources(HashSet<String> paths)
public Icon getIcon(GlContext ctx)
public void invalidate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||