com.iternum.swlink.examples.profile
Class Measures

java.lang.Object
  extended bycom.iternum.swlink.examples.profile.Measures

public class Measures
extends java.lang.Object

A simple class that is used to stored tailor measures.


Field Summary
static java.lang.String CHEST
          PropertyChange constant.
static java.lang.String HEIGHT
          PropertyChange constant.
static java.lang.String HIP
          PropertyChange constant.
static java.lang.String LEFT_LEG
          PropertyChange constant.
static java.lang.String RIGHT_LEG
          PropertyChange constant.
static java.lang.String WAIST
          PropertyChange constant.
 
Constructor Summary
Measures()
          Default constructor.
Measures(int pHeight, int pChest, int pWaist, int pHip, int pRightLeg, int pLeftLeg)
           
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener pListener)
          Adds a PropertyChangeListener to the model.
 java.lang.Object clone()
           
 int getChest()
           
 int getHeight()
           
 int getHip()
           
 int getLeftLeg()
           
 int getRightLeg()
           
 int getWaist()
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener pListener)
          Remove a PropertyChangeListener from the model.
 void setChest(int pChest)
           
 void setHeight(int pHeight)
           
 void setHip(int pHip)
           
 void setLeftLeg(int pLeftLeg)
           
 void setRightLeg(int pRightLeg)
           
 void setWaist(int pWaist)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RIGHT_LEG

public static final java.lang.String RIGHT_LEG
PropertyChange constant.

See Also:
Constant Field Values

WAIST

public static final java.lang.String WAIST
PropertyChange constant.

See Also:
Constant Field Values

LEFT_LEG

public static final java.lang.String LEFT_LEG
PropertyChange constant.

See Also:
Constant Field Values

HIP

public static final java.lang.String HIP
PropertyChange constant.

See Also:
Constant Field Values

HEIGHT

public static final java.lang.String HEIGHT
PropertyChange constant.

See Also:
Constant Field Values

CHEST

public static final java.lang.String CHEST
PropertyChange constant.

See Also:
Constant Field Values
Constructor Detail

Measures

public Measures()
Default constructor.


Measures

public Measures(int pHeight,
                int pChest,
                int pWaist,
                int pHip,
                int pRightLeg,
                int pLeftLeg)
Parameters:
pHeight - The height
pChest - The chest
pWaist - The waist
pHip - The hip
pRightLeg - The right leg
pLeftLeg - The left leg
Method Detail

clone

public java.lang.Object clone()
Returns:
A clone for this object.

getChest

public final int getChest()
Returns:
Returns the chest.

setChest

public final void setChest(int pChest)
Parameters:
pChest - The chest to set.

getHeight

public final int getHeight()
Returns:
Returns the height.

setHeight

public final void setHeight(int pHeight)
Parameters:
pHeight - The height to set.

getHip

public final int getHip()
Returns:
Returns the hip.

setHip

public final void setHip(int pHip)
Parameters:
pHip - The hip to set.

getLeftLeg

public final int getLeftLeg()
Returns:
Returns the leftLeg.

setLeftLeg

public final void setLeftLeg(int pLeftLeg)
Parameters:
pLeftLeg - The leftLeg to set.

getRightLeg

public final int getRightLeg()
Returns:
Returns the rightLeg.

setRightLeg

public final void setRightLeg(int pRightLeg)
Parameters:
pRightLeg - The rightLeg to set.

getWaist

public final int getWaist()
Returns:
Returns the waist.

setWaist

public final void setWaist(int pWaist)
Parameters:
pWaist - The waist to set.

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener pListener)
Adds a PropertyChangeListener to the model.

Parameters:
pListener - The listener

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener pListener)
Remove a PropertyChangeListener from the model.

Parameters:
pListener - The listener