|
|||||||||
| 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.BackgroundConfig
@EditorTypes(value={BackgroundConfig.Solid.class,BackgroundConfig.Image.class,BackgroundConfig.ColorizedImage.class,BackgroundConfig.Blank.class})
public abstract class BackgroundConfigContains a background configuration.
| Nested Class Summary | |
|---|---|
static class |
BackgroundConfig.Blank
A blank background. |
static class |
BackgroundConfig.ColorizedImage
A colorized image. |
static class |
BackgroundConfig.Image
An image background. |
static class |
BackgroundConfig.Solid
A solid background. |
| Field Summary | |
|---|---|
protected SoftReference<Background> |
_background
The cached background. |
| Constructor Summary | |
|---|---|
BackgroundConfig()
|
|
| Method Summary | |
|---|---|
protected abstract Background |
createBackground(GlContext ctx)
Creates the background corresponding to this config. |
Background |
getBackground(GlContext ctx)
Returns the background corresponding to this config. |
void |
getUpdateResources(HashSet<String> paths)
Adds the background'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 |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
@DeepOmit protected transient SoftReference<Background> _background
| Constructor Detail |
|---|
public BackgroundConfig()
| Method Detail |
|---|
public void getUpdateResources(HashSet<String> paths)
public Background getBackground(GlContext ctx)
public void invalidate()
protected abstract Background createBackground(GlContext ctx)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||