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