Interface Defaults
public interface Defaults
This interface gives access to system defaults.  
    The colors defined here have been adjusted for the chart theme.
- 
Method SummaryModifier 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 is "inside" the previous bar (lower high and higher low).Default color for price bars when the bar closes at the open.Default color for price bars when the bar is "outside" the previous bar (higher high and lower low).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).longGets 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).booleanIndicates if the chart theme is a dark theme or a light theme.
- 
Method Details- 
getFont
- 
getTextColor
- 
getBackgroundColor
- 
getLineColor
- 
getBarColor
- 
getBarUpColorColor getBarUpColor()Default color for price bars when the bar closes up.- Returns:
- color for price bars when the bar closes up
 
- 
getBarDownColorColor getBarDownColor()Default color for price bars when the bar closes down.- Returns:
- color for price bars when the bar closes down
 
- 
getBarNeutralColorColor 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
 
- 
getBarInsideColorColor getBarInsideColor()Default color for price bars when the bar is "inside" the previous bar (lower high and higher low).- Returns:
- color for price bars when the bar is inside the previous bar
 
- 
getBarOutsideColorColor getBarOutsideColor()Default color for price bars when the bar is "outside" the previous bar (higher high and lower low).- Returns:
- color for price bars when the bar is outside the previous bar
 
- 
getTopFillColor
- 
getBottomFillColor
- 
getFillColor
- 
getRed
- 
getGreen
- 
getBlue
- 
getYellowColor getYellow()Gets the default yellow color (varies by chart theme).- Returns:
- default yellow color
 
- 
getGrey
- 
getPurpleColor getPurple()Gets the default purple color (varies by chart theme).- Returns:
- default purple color
 
- 
getBrown
- 
getOrangeColor getOrange()Gets the default orange color (varies by chart theme).- Returns:
- default orange color
 
- 
getRedLineColor getRedLine()Gets the default red line color (varies by chart theme).- Returns:
- default red line color
 
- 
getGreenLineColor getGreenLine()Gets the default green line color (varies by chart theme).- Returns:
- default green line color
 
- 
getBlueLineColor getBlueLine()Gets the default blue line color (varies by chart theme).- Returns:
- default blue line color
 
- 
getYellowLineColor getYellowLine()Gets the default yellow line color (varies by chart theme).- Returns:
- default yellow line color
 
- 
getSolidLine
- 
getDashedLine
- 
getEmailAddressString getEmailAddress()Gets the email address associated with the license- Returns:
- email address associated with the license
 
- 
getVersion
- 
getCurrentTimelong getCurrentTime()Gets the current time. If this is replay mode, it will return the current replay time.- Returns:
- current time in milliseconds since 1970
 
- 
isDarkThemeboolean isDarkTheme()Indicates if the chart theme is a dark theme or a light theme. This can be useful to change the default colors.- Returns:
- true if it is a dark chart theme.
 
 
-