com.threerings.opengl.gui.config
Class IconConfig.Rotated

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.gui.config.IconConfig
          extended by com.threerings.opengl.gui.config.IconConfig.Rotated
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
IconConfig

public static class IconConfig.Rotated
extends IconConfig

A rotated icon.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.gui.config.IconConfig
IconConfig.Blank, IconConfig.ColorizedImage, IconConfig.Image, IconConfig.Rotated
 
Field Summary
 IconConfig icon
          The sub-icon to rotate.
 float rotation
          The amount of rotation.
 
Fields inherited from class com.threerings.opengl.gui.config.IconConfig
_icon
 
Constructor Summary
IconConfig.Rotated()
           
 
Method Summary
protected  Icon createIcon(GlContext ctx)
          Creates the icon corresponding to this config.
 
Methods inherited from class com.threerings.opengl.gui.config.IconConfig
getIcon, getImage, getUpdateResources, invalidate
 
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

rotation

@Editable(min=-180.0,
          max=180.0)
public float rotation
The amount of rotation.


icon

@Editable(nullable=true)
public IconConfig icon
The sub-icon to rotate.

Constructor Detail

IconConfig.Rotated

public IconConfig.Rotated()
Method Detail

createIcon

protected Icon createIcon(GlContext ctx)
Description copied from class: IconConfig
Creates the icon corresponding to this config.

Specified by:
createIcon in class IconConfig