com.threerings.opengl.gui.config
Class BorderConfig

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.gui.config.BorderConfig
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
BorderConfig.Blank, BorderConfig.Solid

@EditorTypes(value={BorderConfig.Solid.class,BorderConfig.Blank.class})
public abstract class BorderConfig
extends DeepObject
implements Exportable

Contains a border configuration.


Nested Class Summary
static class BorderConfig.Blank
          A blank border.
static class BorderConfig.Solid
          A solid border.
 
Field Summary
 int thickness
          The thickness of the border.
 
Constructor Summary
BorderConfig()
           
 
Method Summary
 Border getBorder()
          Returns the border corresponding to this config.
 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
 

Field Detail

thickness

@Editable(hgroup="t")
public int thickness
The thickness of the border.

Constructor Detail

BorderConfig

public BorderConfig()
Method Detail

getBorder

public Border getBorder()
Returns the border corresponding to this config.


invalidate

public void invalidate()
Invalidates any cached data.



Copyright © 2011. All Rights Reserved.