|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdiva.canvas.AbstractSite
diva.canvas.connector.NullSite
public class NullSite
A site that doesn't do anything useful. Sometimes this is needed as a placeholder for objects that expect sites, but because other objects they depend on haven't been created yet, can't have them.
| Field Summary |
|---|
| Fields inherited from class diva.canvas.AbstractSite |
|---|
_hasNormal, _normal |
| Constructor Summary | |
|---|---|
NullSite()
|
|
| Method Summary | |
|---|---|
Figure |
getFigure()
Return null |
int |
getID()
Return 0 |
double |
getX()
Return 0.0. |
double |
getY()
Return 0.0. |
| Methods inherited from class diva.canvas.AbstractSite |
|---|
getNormal, getPoint, getPoint, getPoint, getPoint, getTransformContext, hasNormal, isNormal, setNormal, translate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullSite()
| Method Detail |
|---|
public Figure getFigure()
getFigure in interface SitegetFigure in class AbstractSitepublic int getID()
getID in interface SitegetID in class AbstractSitepublic double getX()
getX in interface SitegetX in class AbstractSitepublic double getY()
getY in interface SitegetY in class AbstractSite
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||