com.threerings.opengl.gui.config
Class LayoutConfig.Table

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

public static class LayoutConfig.Table
extends LayoutConfig

A table layout.


Nested Class Summary
static class LayoutConfig.Table.Child
          Represents a child of the layout.
 
Nested classes/interfaces inherited from class com.threerings.opengl.gui.config.LayoutConfig
LayoutConfig.Absolute, LayoutConfig.Anchor, LayoutConfig.Border, LayoutConfig.Group, LayoutConfig.HorizontalAlignment, LayoutConfig.HorizontalGroup, LayoutConfig.Justification, LayoutConfig.Location, LayoutConfig.OffAxisPolicy, LayoutConfig.OnAxisPolicy, LayoutConfig.Table, LayoutConfig.VerticalAlignment, LayoutConfig.VerticalGroup
 
Field Summary
 LayoutConfig.Table.Child[] children
          The children of this layout.
 int columnGap
          The gap between columns.
 int columns
          The number of columns in the table.
 boolean equalRows
          Whether or not to force all rows to be a uniform size.
 LayoutConfig.HorizontalAlignment horizontalAlignment
          The horizontal alignment.
 int rowGap
          The gap between rows.
 LayoutConfig.VerticalAlignment verticalAlignment
          The vertical alignment.
 
Constructor Summary
LayoutConfig.Table()
           
 
Method Summary
 void invalidate()
          Invalidates any cached data.
 
Methods inherited from class com.threerings.opengl.gui.config.LayoutConfig
configure
 
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

columns

@Editable(min=1.0,
          hgroup="c")
public int columns
The number of columns in the table.


equalRows

@Editable(hgroup="c")
public boolean equalRows
Whether or not to force all rows to be a uniform size.


rowGap

@Editable(hgroup="g")
public int rowGap
The gap between rows.


columnGap

@Editable(hgroup="g")
public int columnGap
The gap between columns.


horizontalAlignment

@Editable(hgroup="a")
public LayoutConfig.HorizontalAlignment horizontalAlignment
The horizontal alignment.


verticalAlignment

@Editable(hgroup="a")
public LayoutConfig.VerticalAlignment verticalAlignment
The vertical alignment.


children

@Editable
public LayoutConfig.Table.Child[] children
The children of this layout.

Constructor Detail

LayoutConfig.Table

public LayoutConfig.Table()
Method Detail

invalidate

public void invalidate()
Description copied from class: LayoutConfig
Invalidates any cached data.

Overrides:
invalidate in class LayoutConfig


Copyright © 2011. All Rights Reserved.