|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.metaabm.examples.stupid3.HabitatStyle2DColorProvider
public class HabitatStyle2DColorProvider
Habitat Style 2D Java Implementation. Generated by AMF for model: StupidModel3.metaabm in project: org.eclipse.amp.amf.examples.escape
Constructor Summary | |
---|---|
HabitatStyle2DColorProvider()
|
Method Summary | |
---|---|
org.eclipse.swt.graphics.Color |
getBackground(java.lang.Object object)
Provides a background color for the given Habitat. |
org.eclipse.swt.graphics.Color |
getColor(java.lang.Object object,
boolean fill)
Provides a color for Habitat 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 Habitat. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HabitatStyle2DColorProvider()
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 |