com.esotericsoftware.tablelayout
Class Value.FixedValue

java.lang.Object
  extended by com.esotericsoftware.tablelayout.Value
      extended by com.esotericsoftware.tablelayout.Value.FixedValue
Enclosing class:
Value

public static class Value.FixedValue
extends Value

A fixed value that is not computed each time it is used.

Author:
Nathan Sweet

Nested Class Summary
 
Nested classes/interfaces inherited from class com.esotericsoftware.tablelayout.Value
Value.CellValue, Value.FixedValue, Value.TableValue
 
Field Summary
 
Fields inherited from class com.esotericsoftware.tablelayout.Value
maxHeight, maxWidth, minHeight, minWidth, prefHeight, prefWidth, zero
 
Constructor Summary
Value.FixedValue(float value)
           
 
Method Summary
 float get(Cell cell)
          Returns the value in the context of the specified cell.
 float get(Object table)
          Returns the value in the context of the specified table.
 void set(float value)
           
 
Methods inherited from class com.esotericsoftware.tablelayout.Value
height, height, percentHeight, percentHeight, percentWidth, percentWidth, width, width
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Value.FixedValue

public Value.FixedValue(float value)
Method Detail

set

public void set(float value)

get

public float get(Object table)
Description copied from class: Value
Returns the value in the context of the specified table.

Specified by:
get in class Value

get

public float get(Cell cell)
Description copied from class: Value
Returns the value in the context of the specified cell.

Specified by:
get in class Value


Copyright © 2013. All Rights Reserved.