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

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

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

Represents a child of the layout.


Field Summary
 float childX
          The proportional location of the anchor on the child.
 float childY
          The proportional location of the anchor on the child.
 ComponentConfig component
          The child component.
 float parentX
          The proportional location of the anchor on the parent.
 float parentY
          The proportional location of the anchor on the parent.
 
Constructor Summary
LayoutConfig.Anchor.Child()
           
 
Method Summary
 Object createConstraints()
          Creates 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

childX

@Editable(step=0.01,
          hgroup="c")
public float childX
The proportional location of the anchor on the child.


childY

@Editable(step=0.01,
          hgroup="c")
public float childY
The proportional location of the anchor on the child.


parentX

@Editable(step=0.01,
          hgroup="p")
public float parentX
The proportional location of the anchor on the parent.


parentY

@Editable(step=0.01,
          hgroup="p")
public float parentY
The proportional location of the anchor on the parent.


component

@Editable
public ComponentConfig component
The child component.

Constructor Detail

LayoutConfig.Anchor.Child

public LayoutConfig.Anchor.Child()
Method Detail

createConstraints

public Object createConstraints()
Creates the constraints for this child.



Copyright © 2011. All Rights Reserved.