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