|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectigeo.IObject
igeo.IAgent
igeo.IField
public abstract class IField
Field agent base class.
Field Summary | |
---|---|
java.util.ArrayList<java.lang.Class<? extends IParticleI>> |
targetClasses
|
Fields inherited from class igeo.IAgent |
---|
alive, duration, interactOverridden, localDynamics, parent, targets, time |
Fields inherited from class igeo.IObject |
---|
attribute, dynamics, graphics, parameter, server, userData |
Constructor Summary | |
---|---|
IField()
|
Method Summary | |
---|---|
abstract void |
applyField(IParticleI particle)
|
IField |
clr(java.awt.Color c)
|
IField |
clr(java.awt.Color c,
double alpha)
|
IField |
clr(java.awt.Color c,
float alpha)
|
IField |
clr(java.awt.Color c,
int alpha)
|
IField |
clr(double dgray)
|
IField |
clr(double dgray,
double dalpha)
|
IField |
clr(double dr,
double dg,
double db)
|
IField |
clr(double dr,
double dg,
double db,
double da)
|
IField |
clr(float fgray)
|
IField |
clr(float fgray,
float falpha)
|
IField |
clr(float fr,
float fg,
float fb)
|
IField |
clr(float fr,
float fg,
float fb,
float fa)
|
IField |
clr(IColor c)
|
IField |
clr(IColor c,
double alpha)
to set color, with alpha value overwritten |
IField |
clr(IColor c,
float alpha)
to set color, with alpha value overwritten |
IField |
clr(IColor c,
int alpha)
to set color, with alpha value overwritten |
IField |
clr(int gray)
|
IField |
clr(int gray,
int alpha)
|
IField |
clr(int r,
int g,
int b)
|
IField |
clr(int r,
int g,
int b,
int a)
|
IField |
hide()
|
IField |
hsb(double h,
double s,
double b)
|
IField |
hsb(double h,
double s,
double b,
double a)
|
IField |
hsb(float h,
float s,
float b)
|
IField |
hsb(float h,
float s,
float b,
float a)
|
void |
interact(java.util.ArrayList<IDynamics> agents)
behavior definition of interaction with other dynamic objects. |
boolean |
isTarget(java.lang.Object obj)
alias |
boolean |
isTargetClass(java.lang.Object obj)
|
IField |
layer(ILayer l)
Set layer by ILayer object |
IField |
name(java.lang.String nm)
methods of IObject |
IField |
setColor(java.awt.Color c)
|
IField |
setColor(java.awt.Color c,
int alpha)
|
IField |
setColor(double dgray)
|
IField |
setColor(double dgray,
double dalpha)
|
IField |
setColor(double dr,
double dg,
double db)
|
IField |
setColor(double dr,
double dg,
double db,
double da)
|
IField |
setColor(float fgray)
|
IField |
setColor(float fgray,
float falpha)
|
IField |
setColor(float fr,
float fg,
float fb)
|
IField |
setColor(float fr,
float fg,
float fb,
float fa)
|
IField |
setColor(int gray)
|
IField |
setColor(int gray,
int alpha)
|
IField |
setColor(int r,
int g,
int b)
|
IField |
setColor(int r,
int g,
int b,
int a)
|
IField |
setHSBColor(double h,
double s,
double b)
|
IField |
setHSBColor(double h,
double s,
double b,
double a)
|
IField |
setHSBColor(float h,
float s,
float b)
|
IField |
setHSBColor(float h,
float s,
float b,
float a)
|
IField |
show()
|
IField |
target(java.lang.Class<? extends IParticleI>... targets)
alias |
IField |
target(java.lang.Class<? extends IParticleI> targetClass)
alias |
IField |
targetClass(java.lang.Class<? extends IParticleI>... targets)
make the field applicable only to the specified target classes |
IField |
targetClass(java.lang.Class<? extends IParticleI> targetClass)
make the field applicable only to the specified target class |
IField |
weight(double w)
|
IField |
weight(float w)
|
Methods inherited from class igeo.IAgent |
---|
addDynamics, alive, del, del, deletDynamics, deleteDynamics, deleteDynamics, duration, duration, dynamicsNum, getDynamics, initAgent, interact, localDynamics, parent, parent, postinteract, postupdate, preinteract, preupdate, removeTarget, removeTarget, setColor, setColor, setColor, setColor, target, target, targetNum, targets, time, time, update, updateGraphic, updateTarget |
Methods inherited from class igeo.IObject |
---|
alpha, alphaInt, attr, attr, attr, awtColor, blue, blueInt, clearDynamics, clearGraphics, clr, cp, createGraphic, defaultAttribute, deleteGraphic, dup, getAWTColor, getColor, getGraphic, getGraphic, getParameter, graphicsNum, gray, grayInt, green, greenInt, greyInt, initGraphic, initObject, isValid, isVisible, layer, layer, name, red, redInt, resetGraphic, server, setColor, setColor, setParameter, syncColor, syncGraphic, syncVisibility, syncWeight, userData, userData, visible, weight |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface igeo.IFieldI |
---|
constantIntensity, del, gaussian, gaussianDecay, get, intensity, intensity, linear, linearDecay, noDecay, threshold, threshold |
Field Detail |
---|
public java.util.ArrayList<java.lang.Class<? extends IParticleI>> targetClasses
Constructor Detail |
---|
public IField()
Method Detail |
---|
public IField targetClass(java.lang.Class<? extends IParticleI> targetClass)
public IField target(java.lang.Class<? extends IParticleI> targetClass)
public IField targetClass(java.lang.Class<? extends IParticleI>... targets)
public IField target(java.lang.Class<? extends IParticleI>... targets)
public boolean isTargetClass(java.lang.Object obj)
public boolean isTarget(java.lang.Object obj)
public void interact(java.util.ArrayList<IDynamics> agents)
IDynamics
interact
in interface IDynamics
interact
in class IAgent
public abstract void applyField(IParticleI particle)
public IField name(java.lang.String nm)
name
in class IAgent
public IField layer(ILayer l)
IObject
layer
in class IAgent
public IField hide()
hide
in class IAgent
public IField show()
show
in class IAgent
public IField clr(IColor c)
clr
in class IAgent
public IField clr(IColor c, int alpha)
IObject
clr
in class IAgent
public IField clr(IColor c, float alpha)
IObject
clr
in class IAgent
public IField clr(IColor c, double alpha)
IObject
clr
in class IAgent
public IField clr(java.awt.Color c)
clr
in class IObject
public IField clr(java.awt.Color c, int alpha)
clr
in class IObject
public IField clr(java.awt.Color c, float alpha)
clr
in class IObject
public IField clr(java.awt.Color c, double alpha)
clr
in class IObject
public IField clr(int gray)
clr
in class IAgent
public IField clr(float fgray)
clr
in class IAgent
public IField clr(double dgray)
clr
in class IAgent
public IField clr(int gray, int alpha)
clr
in class IAgent
public IField clr(float fgray, float falpha)
clr
in class IAgent
public IField clr(double dgray, double dalpha)
clr
in class IAgent
public IField clr(int r, int g, int b)
clr
in class IAgent
public IField clr(float fr, float fg, float fb)
clr
in class IAgent
public IField clr(double dr, double dg, double db)
clr
in class IAgent
public IField clr(int r, int g, int b, int a)
clr
in class IAgent
public IField clr(float fr, float fg, float fb, float fa)
clr
in class IAgent
public IField clr(double dr, double dg, double db, double da)
clr
in class IAgent
public IField hsb(float h, float s, float b, float a)
hsb
in class IAgent
public IField hsb(double h, double s, double b, double a)
hsb
in class IAgent
public IField hsb(float h, float s, float b)
hsb
in class IAgent
public IField hsb(double h, double s, double b)
hsb
in class IAgent
public IField weight(float w)
weight
in class IAgent
public IField weight(double w)
weight
in class IAgent
public IField setColor(java.awt.Color c)
setColor
in class IObject
public IField setColor(java.awt.Color c, int alpha)
setColor
in class IObject
public IField setColor(int gray)
setColor
in class IAgent
public IField setColor(float fgray)
setColor
in class IAgent
public IField setColor(double dgray)
setColor
in class IAgent
public IField setColor(int gray, int alpha)
setColor
in class IAgent
public IField setColor(float fgray, float falpha)
setColor
in class IAgent
public IField setColor(double dgray, double dalpha)
setColor
in class IAgent
public IField setColor(int r, int g, int b)
setColor
in class IAgent
public IField setColor(float fr, float fg, float fb)
setColor
in class IAgent
public IField setColor(double dr, double dg, double db)
setColor
in class IAgent
public IField setColor(int r, int g, int b, int a)
setColor
in class IAgent
public IField setColor(float fr, float fg, float fb, float fa)
setColor
in class IAgent
public IField setColor(double dr, double dg, double db, double da)
setColor
in class IAgent
public IField setHSBColor(float h, float s, float b, float a)
setHSBColor
in class IAgent
public IField setHSBColor(double h, double s, double b, double a)
setHSBColor
in class IAgent
public IField setHSBColor(float h, float s, float b)
setHSBColor
in class IAgent
public IField setHSBColor(double h, double s, double b)
setHSBColor
in class IAgent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |