public class GraphLabelOptions
extends java.lang.Object
Constructor and Description |
---|
GraphLabelOptions()
Constructs a GraphLabelOption object with a default value.
|
GraphLabelOptions(int dayOfYearLabelFrequency,
boolean monthDayOfMonthLabel,
int hourLabelFrequency,
int hourTickMarkFrequency,
int minuteLabelFrequency,
int minuteTickMarkFrequency)
Constructs a GraphLabelOption object with the given attribute
values.
|
Modifier and Type | Method and Description |
---|---|
int |
getDayOfYearLabelFrequency()
Gets the day-of-year label frequency value.
|
int |
getHourLabelFrequency()
Gets the hour label frequency value.
|
int |
getHourTickMarkFrequency()
Gets the hour tick mark frequency value.
|
int |
getMinuteLabelFrequency()
Gets the minute label frequency value.
|
int |
getMinuteTickMarkFrequency()
Gets the minute tick mark frequency value.
|
boolean |
isMonthDayOfMonthLabel()
Gets the month/day-of-month label value.
|
void |
list(java.io.PrintStream out)
Prints this object's value to the specified output stream.
|
void |
setDayOfYearLabelFrequency(int value)
Sets the day-of-year label frequency value.
|
void |
setHourLabelFrequency(int value)
Sets the hour label frequency value.
|
void |
setHourTickMarkFrequency(int value)
Sets the hour tick mark frequency value.
|
void |
setMinuteLabelFrequency(int value)
Sets the minute label frequency value.
|
void |
setMinuteTickMarkFrequency(int value)
Sets the minute tick mark frequecy value.
|
void |
setMonthDayOfMonthLabel(boolean value)
Sets the month/day-of-month label value.
|
public GraphLabelOptions()
public GraphLabelOptions(int dayOfYearLabelFrequency, boolean monthDayOfMonthLabel, int hourLabelFrequency, int hourTickMarkFrequency, int minuteLabelFrequency, int minuteTickMarkFrequency)
dayOfYearLabelFrequency
- frequency of day-of-year labelsmonthDayOfMonthLabel
- specifies format of day-of-year labelshourLabelFrequency
- frequency of hour labelshourTickMarkFrequency
- frequency of hour tick marksminuteLabelFrequency
- frequency of minute labelsminuteTickMarkFrequency
- frequency of minute tick markspublic int getDayOfYearLabelFrequency()
setDayOfYearLabelFrequency(int)
public void setDayOfYearLabelFrequency(int value)
value
- new day-of-year label frequency value. A zero
value specifies that the day-of-year label should
not be displayed.getDayOfYearLabelFrequency()
public boolean isMonthDayOfMonthLabel()
setMonthDayOfMonthLabel(boolean)
public void setMonthDayOfMonthLabel(boolean value)
value
- new month/day-of-month label value. A false value
specifies that the label is to have a day-of-year
value.isMonthDayOfMonthLabel()
public int getHourLabelFrequency()
setHourLabelFrequency(int)
public void setHourLabelFrequency(int value)
value
- new hour label frequency value. A null or zero
value specifies that the hour labels should not be
displayed.getHourLabelFrequency()
public int getHourTickMarkFrequency()
setHourTickMarkFrequency(int)
public void setHourTickMarkFrequency(int value)
value
- new hour tick mark frequency value. A null or zero
value specifies that the hour tick marks should not
be displayed.getHourTickMarkFrequency()
public int getMinuteLabelFrequency()
setMinuteLabelFrequency(int)
public void setMinuteLabelFrequency(int value)
value
- new minute label frequency value. A null or zero
value specifies that the minute label should not be
displayed.getMinuteLabelFrequency()
public int getMinuteTickMarkFrequency()
setMinuteTickMarkFrequency(int)
public void setMinuteTickMarkFrequency(int value)
value
- new minute tick mark frequency value. A null or
zero value specifies that minute tick marks should
not be displayed.getMinuteTickMarkFrequency()
public void list(java.io.PrintStream out)
out
- an output streamSSC Feedback.
Copyright © 2003-2018 United States Government as represented by the National Aeronautics and Space Administration. No copyright is claimed in the United States under Title 17, U.S.Code. All Other Rights Reserved.