com.threerings.opengl.gui.config
Class LayoutConfig.Group.Child

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

public static class LayoutConfig.Group.Child
extends DeepObject
implements Exportable

Represents a child of the layout.


Field Summary
 ComponentConfig component
          The child component.
 boolean fixed
          Whether or not the component's size is fixed.
 int weight
          The weight of this child when redistributing space.
 
Constructor Summary
LayoutConfig.Group.Child()
           
 
Method Summary
 Object getConstraints()
          Returns the constraints for this child.
 
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

fixed

@Editable(hgroup="f")
public boolean fixed
Whether or not the component's size is fixed.


weight

@Editable(min=0.0,
          hgroup="f")
public int weight
The weight of this child when redistributing space.


component

@Editable
public ComponentConfig component
The child component.

Constructor Detail

LayoutConfig.Group.Child

public LayoutConfig.Group.Child()
Method Detail

getConstraints

public Object getConstraints()
Returns the constraints for this child.



Copyright © 2011. All Rights Reserved.