Interface Defaults
public interface Defaults
This interface gives access to system defaults.
The colors defined here have been adjusted for the chart theme.
-
Method Summary
Modifier and TypeMethodDescriptionChart background color.Default color for painting bars.Default color for price bars when the bar closes down.Default color for price bars when the bar closes at the open.Default color for price bars when the bar closes up.getBlue()
Gets the default blue color (varies by chart theme).Gets the default blue line color (varies by chart theme).Default color for bottom fill.getBrown()
Gets the default brown color (varies by chart theme).long
Gets the current time.Gets the stroke for a dashed line.Gets the email address associated with the licenseDefault color fill.getFont()
Gets the default font for writing text.getGreen()
Gets the default green color (varies by chart theme).Gets the default green line color (varies by chart theme).getGrey()
Gets the default grey color (varies by chart theme).Default color for drawing lines.Gets the default orange color (varies by chart theme).Gets the default purple color (varies by chart theme).getRed()
Gets the default red color (varies by chart theme).Gets the default red line color (varies by chart theme).Gets the stroke for a solid line.Default color for drawing text.Default color for top fill.Gets the version of MotiveWave.Gets the default yellow color (varies by chart theme).Gets the default yellow line color (varies by chart theme).
-
Method Details
-
getFont
Font getFont()Gets the default font for writing text.- Returns:
- default font
-
getTextColor
Color getTextColor()Default color for drawing text.- Returns:
- default text color
-
getBackgroundColor
Color getBackgroundColor()Chart background color.- Returns:
- background color for the chart
-
getLineColor
Color getLineColor()Default color for drawing lines.- Returns:
- line color
-
getBarColor
Color getBarColor()Default color for painting bars.- Returns:
- bar color for painting bars
-
getBarUpColor
Color getBarUpColor()Default color for price bars when the bar closes up.- Returns:
- color for price bars when the bar closes up
-
getBarDownColor
Color getBarDownColor()Default color for price bars when the bar closes down.- Returns:
- color for price bars when the bar closes down
-
getBarNeutralColor
Color getBarNeutralColor()Default color for price bars when the bar closes at the open.- Returns:
- color for price bars when the bar closes at the open
-
getTopFillColor
Color getTopFillColor()Default color for top fill.- Returns:
- top fill color
-
getBottomFillColor
Color getBottomFillColor()Default color for bottom fill.- Returns:
- bottom fill color
-
getFillColor
Color getFillColor()Default color fill.- Returns:
- fill color
-
getRed
Color getRed()Gets the default red color (varies by chart theme).- Returns:
- default red color
-
getGreen
Color getGreen()Gets the default green color (varies by chart theme).- Returns:
- default green color
-
getBlue
Color getBlue()Gets the default blue color (varies by chart theme).- Returns:
- default blue color
-
getYellow
Color getYellow()Gets the default yellow color (varies by chart theme).- Returns:
- default yellow color
-
getGrey
Color getGrey()Gets the default grey color (varies by chart theme).- Returns:
- default grey color
-
getPurple
Color getPurple()Gets the default purple color (varies by chart theme).- Returns:
- default purple color
-
getBrown
Color getBrown()Gets the default brown color (varies by chart theme).- Returns:
- default brown color
-
getOrange
Color getOrange()Gets the default orange color (varies by chart theme).- Returns:
- default orange color
-
getRedLine
Color getRedLine()Gets the default red line color (varies by chart theme).- Returns:
- default red line color
-
getGreenLine
Color getGreenLine()Gets the default green line color (varies by chart theme).- Returns:
- default green line color
-
getBlueLine
Color getBlueLine()Gets the default blue line color (varies by chart theme).- Returns:
- default blue line color
-
getYellowLine
Color getYellowLine()Gets the default yellow line color (varies by chart theme).- Returns:
- default yellow line color
-
getSolidLine
Stroke getSolidLine()Gets the stroke for a solid line.- Returns:
- stroke for a solid line
-
getDashedLine
Stroke getDashedLine()Gets the stroke for a dashed line.- Returns:
- stroke for a dashed line
-
getEmailAddress
String getEmailAddress()Gets the email address associated with the license- Returns:
- email address associated with the license
-
getVersion
String getVersion()Gets the version of MotiveWave.- Returns:
- the version of MotiveWave
-
getCurrentTime
long getCurrentTime()Gets the current time. If this is replay mode, it will return the current replay time.- Returns:
- current time in milliseconds since 1970
-