|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectname.milesparker.epi.region.IndividualStyle2DColorProvider
public class IndividualStyle2DColorProvider
Individual Style 2D Java Implementation. Generated by AMF for model: EpidemicRegional.metaabm in project: org.eclipse.amp.amf.examples.escape
Constructor Summary | |
---|---|
IndividualStyle2DColorProvider()
|
Method Summary | |
---|---|
org.eclipse.swt.graphics.Color |
getBackground(java.lang.Object object)
Provides a background color for the given Individual. |
org.eclipse.swt.graphics.Color |
getColor(java.lang.Object object,
boolean fill)
Provides a color for Individual based on wether we want to fill or not. |
static org.eclipse.jface.viewers.IColorProvider |
getDefault()
|
org.eclipse.swt.graphics.Color |
getForeground(java.lang.Object object)
Provides a foreground color for the given Individual. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndividualStyle2DColorProvider()
Method Detail |
---|
public org.eclipse.swt.graphics.Color getColor(java.lang.Object object, boolean fill)
object
- the agent
null
to use the default foreground color
public org.eclipse.swt.graphics.Color getForeground(java.lang.Object object)
getForeground
in interface org.eclipse.jface.viewers.IColorProvider
object
- the agent
null
to use the default foreground color
public org.eclipse.swt.graphics.Color getBackground(java.lang.Object object)
getBackground
in interface org.eclipse.jface.viewers.IColorProvider
object
- the agent
null
to use the default background color
public static org.eclipse.jface.viewers.IColorProvider getDefault()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |