com.osbcp.css.unit
Class PX

java.lang.Object
  extended by com.osbcp.css.unit.NumericUnit
      extended by com.osbcp.css.unit.PX
All Implemented Interfaces:
Unit, java.io.Serializable

public final class PX
extends NumericUnit

Represents the pixel (px) CSS unit

Author:
Christoffer Pettersson
See Also:
CSS Units, Serialized Form

Constructor Summary
PX(int length)
          Constructor for creating a new pixel (px) CSS unit
 
Method Summary
 
Methods inherited from class com.osbcp.css.unit.NumericUnit
toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PX

public PX(int length)
Constructor for creating a new pixel (px) CSS unit

Parameters:
length - The numeric length value