net.sourceforge.eclipsetrader.trading
Class AlertPlugin
java.lang.Object
net.sourceforge.eclipsetrader.trading.AlertPlugin
- public abstract class AlertPlugin
- extends java.lang.Object
Base abstract class for alert plugins.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlertPlugin
public AlertPlugin()
getDescription
public java.lang.String getDescription()
init
public void init(Security security,
Alert alert)
init
public void init(Security security,
java.util.Map params)
init
public void init(java.util.Map params)
apply
public abstract boolean apply()
isSeenToday
public boolean isSeenToday()
getHilightBackground
public org.eclipse.swt.graphics.RGB getHilightBackground()
- Get the color to use to hilight the watchlist row background.
- Returns:
- the hilight color, or null to use the default
getHilightForeground
public org.eclipse.swt.graphics.RGB getHilightForeground()
- Get the color to use to hilight the watchlist row foreground.
- Returns:
- the hilight color, or null to use the default
getSecurity
public Security getSecurity()
getLastSeen
public java.util.Date getLastSeen()
setLastSeen
public void setLastSeen(java.util.Date lastSeen)