|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.config.ManagedConfig
com.threerings.opengl.gui.config.CursorConfig
public class CursorConfig
Describes a cursor.
| Field Summary | |
|---|---|
protected SoftReference<Cursor> |
_cursor
The cached cursor. |
ColorizationConfig[] |
colorizations
Colorizations to apply to the cursor. |
int |
hotSpotX
The hot spot x coordinate. |
int |
hotSpotY
The hot spot y coordinate. |
String |
image
The cursor image. |
| Fields inherited from class com.threerings.config.ManagedConfig |
|---|
_cfgmgr, _listeners, _name, _updateConfigs, _updateResources |
| Constructor Summary | |
|---|---|
CursorConfig()
|
|
| Method Summary | |
|---|---|
protected void |
fireConfigUpdated()
Fires a configuration updated event. |
Cursor |
getCursor(GlContext ctx)
Returns the cursor corresponding to this config. |
protected void |
getUpdateResources(HashSet<String> paths)
Collects the paths of all resources referenced by this config that, when modified, should trigger a call to ManagedConfig.fireConfigUpdated(). |
| Methods inherited from class com.threerings.config.ManagedConfig |
|---|
addListener, addUpdateDependencies, clearUpdateDependencies, configUpdated, getConfigManager, getInstance, getInstance, getInstance, getInstance, getInstance, getName, getReference, getUpdateReferences, init, maybeFireOnConfigManager, removeListener, resourceModified, setName, updateFromSource, validateOuters, validateReferences, wasUpdated |
| 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 |
|---|
@Editable(editor="resource",
nullable=true)
@FileConstraints(description="m.image_files_desc",
extensions={".png",".jpg"},
directory="image_dir")
public String image
@Editable public ColorizationConfig[] colorizations
@Editable(min=0.0,
hgroup="h")
public int hotSpotX
@Editable(min=0.0,
hgroup="h")
public int hotSpotY
@DeepOmit protected transient SoftReference<Cursor> _cursor
| Constructor Detail |
|---|
public CursorConfig()
| Method Detail |
|---|
public Cursor getCursor(GlContext ctx)
protected void fireConfigUpdated()
ManagedConfig
fireConfigUpdated in class ManagedConfigprotected void getUpdateResources(HashSet<String> paths)
ManagedConfigManagedConfig.fireConfigUpdated().
getUpdateResources in class ManagedConfig
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||