org.apache.myfaces.tobago.layout
Class PixelMeasure

java.lang.Object
  extended by org.apache.myfaces.tobago.layout.Measure
      extended by org.apache.myfaces.tobago.layout.PixelMeasure
All Implemented Interfaces:
Serializable

public final class PixelMeasure
extends Measure

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.myfaces.tobago.layout.Measure
MAX, ZERO
 
Method Summary
 Measure add(int m)
           
 Measure add(Measure m)
           
 Measure divide(int times)
           
 boolean equals(Object o)
           
 int getPixel()
           
 int hashCode()
           
 Measure multiply(int times)
           
 Measure subtract(int m)
           
 Measure subtract(Measure m)
           
 Measure subtractNotNegative(Measure m)
           
 String toString()
           
 
Methods inherited from class org.apache.myfaces.tobago.layout.Measure
greaterOrEqualThan, greaterThan, lessOrEqualThan, lessThan, max, max, min, min, parse, substractNotNegative, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

add

public Measure add(Measure m)
Specified by:
add in class Measure

add

public Measure add(int m)
Specified by:
add in class Measure

multiply

public Measure multiply(int times)
Specified by:
multiply in class Measure

divide

public Measure divide(int times)
Specified by:
divide in class Measure

subtractNotNegative

public Measure subtractNotNegative(Measure m)
Specified by:
subtractNotNegative in class Measure

subtract

public Measure subtract(Measure m)
Specified by:
subtract in class Measure

subtract

public Measure subtract(int m)
Specified by:
subtract in class Measure

getPixel

public int getPixel()
Specified by:
getPixel in class Measure

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.