net.nexttext.property
Class ShapeProperty

java.lang.Object
  extended by net.nexttext.property.Property
      extended by net.nexttext.property.ShapeProperty
All Implemented Interfaces:
java.lang.Cloneable

public class ShapeProperty
extends Property

A shape property of a TextObject or a Behaviour.

This is a property wrapper for java.awt.Shape.


Constructor Summary
ShapeProperty(java.awt.Shape shape)
          Creates a new ShapeProperty with a copy of the provided Shape.
 
Method Summary
 java.awt.Shape get()
          Do not modify the returned value, use set() to make changes instead.
 void reset()
          Reset this property to its original value.
 void set(java.awt.Shape shape)
           
 
Methods inherited from class net.nexttext.property.Property
addChangeListener, clone, getName, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShapeProperty

public ShapeProperty(java.awt.Shape shape)
Creates a new ShapeProperty with a copy of the provided Shape.

Method Detail

get

public java.awt.Shape get()
Do not modify the returned value, use set() to make changes instead.


set

public void set(java.awt.Shape shape)

reset

public void reset()
Description copied from class: Property
Reset this property to its original value.

Specified by:
reset in class Property