JACK 5.4 Application Interface

aos.jack.sim.visual.awt
Class Polygon

java.lang.Object
  extended byaos.jack.sim.visual.awt.Polygon
All Implemented Interfaces:
aos.apib.Base, Drawable, java.io.Serializable, java.awt.Shape, Shape

public class Polygon
extends java.lang.Object
implements aos.apib.Base, java.io.Serializable, Shape, Drawable

See Also:
Serialized Form

Constructor Summary
Polygon()
           
 
Method Summary
 Drawable[] children()
           
 boolean contains(double x, double y)
           
 boolean contains(double x, double y, double w, double h)
           
 boolean contains(java.awt.geom.Point2D p)
           
 boolean contains(java.awt.geom.Rectangle2D r)
           
 boolean equals(java.lang.Object o)
           
 java.awt.Rectangle getBounds()
           
 java.awt.geom.Rectangle2D getBounds2D()
           
 java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform t)
           
 java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform t, double d)
           
 aos.apib.StreamerSupport getStreamer()
          Returns the StreamerSupport for the object implementing this interface.
 int hashCode()
           
 Drawable instantiate(java.util.Hashtable attr)
           
 boolean intersects(double x, double y, double w, double h)
           
 boolean intersects(java.awt.geom.Rectangle2D r)
           
 void paint(java.awt.Graphics2D g)
           
 void readObjectNotify(aos.apib.InStream s)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Polygon

public Polygon()
Method Detail

getStreamer

public aos.apib.StreamerSupport getStreamer()
Description copied from interface: aos.apib.Base
Returns the StreamerSupport for the object implementing this interface.

Specified by:
getStreamer in interface aos.apib.Base

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object o)

readObjectNotify

public void readObjectNotify(aos.apib.InStream s)

contains

public boolean contains(double x,
                        double y)
Specified by:
contains in interface java.awt.Shape

contains

public boolean contains(double x,
                        double y,
                        double w,
                        double h)
Specified by:
contains in interface java.awt.Shape

contains

public boolean contains(java.awt.geom.Point2D p)
Specified by:
contains in interface java.awt.Shape

contains

public boolean contains(java.awt.geom.Rectangle2D r)
Specified by:
contains in interface java.awt.Shape

getBounds

public java.awt.Rectangle getBounds()
Specified by:
getBounds in interface java.awt.Shape

getBounds2D

public java.awt.geom.Rectangle2D getBounds2D()
Specified by:
getBounds2D in interface java.awt.Shape

getPathIterator

public java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform t)
Specified by:
getPathIterator in interface java.awt.Shape

getPathIterator

public java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform t,
                                                  double d)
Specified by:
getPathIterator in interface java.awt.Shape

intersects

public boolean intersects(double x,
                          double y,
                          double w,
                          double h)
Specified by:
intersects in interface java.awt.Shape

intersects

public boolean intersects(java.awt.geom.Rectangle2D r)
Specified by:
intersects in interface java.awt.Shape

paint

public void paint(java.awt.Graphics2D g)
Specified by:
paint in interface Drawable

instantiate

public Drawable instantiate(java.util.Hashtable attr)
Specified by:
instantiate in interface Drawable

children

public Drawable[] children()
Specified by:
children in interface Drawable

toString

public java.lang.String toString()

JACK 5.4 Application Interface

Copyright (C) 1999-2008, Agent Oriented Software Pty. Ltd.

US Government Restricted Rights
The JACK Modules and relevant Software Material have been developed entirely at private expense and are accordingly provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of DFARS 252.227-7013 or subparagraph (c)(1) and (2) of the Commercial Computer Software Restricted Rights and 48 CFR 52.2270-19, as applicable.


Agent Oriented Software Pty. Ltd.     http://www.aosgrp.com
PO Box 639, Carlton South, Victoria 3053, Australia
Phone: +61 3 9349 5055, Fax: +61 3 9349 5088