Class TickOptions
- java.lang.Object
-
- org.wicketstuff.jqplot.lib.elements.TickOptions
-
- All Implemented Interfaces:
Serializable,Element
public class TickOptions extends Object implements Element
A 'tick' object showing the value of a tick/gridline on the plot.- Author:
- inaiat
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TickOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetAngle()Gets the angle.BooleangetEscapeHTML()Gets the escape html.StringgetFontFamily()Gets the font family.StringgetFontSize()Gets the font size.DoublegetFontStretch()Gets the font stretch.StringgetFontWeight()Gets the font weight.StringgetFormatString()Gets the format string.BooleangetIsMinorTick()Gets the checks if is minor tick.StringgetLabel()Gets the label.StringgetLabelPosition()Gets the label position.StringgetMark()Gets the mark.IntegergetMarkSize()Gets the mark size.StringgetPrefix()Gets the prefix.BooleangetShow()Gets the show.BooleangetShowGridline()Gets the show gridline.BooleangetShowLabel()Gets the show label.BooleangetShowMark()Gets the show mark.StringgetTextColor()Gets the text color.TickOptionssetAngle(Integer angle)Sets the angle.TickOptionssetEscapeHTML(Boolean escapeHTML)Sets the escape html.TickOptionssetFontFamily(String fontFamily)Sets the font family.TickOptionssetFontSize(String fontSize)Sets the font size.TickOptionssetFontStretch(Double fontStretch)Sets the font stretch.TickOptionssetFontWeight(String fontWeight)Sets the font weight.TickOptionssetFormatString(String formatString)Sets the format string.TickOptionssetIsMinorTick(Boolean isMinorTick)Sets the checks if is minor tick.TickOptionssetLabel(String label)Sets the label.TickOptionssetLabelPosition(String labelPosition)Sets the label position.TickOptionssetMark(String mark)Sets the mark.TickOptionssetMarkSize(Integer markSize)Sets the mark size.TickOptionssetPrefix(String prefix)Sets the prefix.TickOptionssetShow(Boolean show)Sets the show.TickOptionssetShowGridline(Boolean showGridline)Sets the show gridline.TickOptionssetShowLabel(Boolean showLabel)Sets the show label.TickOptionssetShowMark(Boolean showMark)Sets the show mark.TickOptionssetTextColor(String textColor)Sets the text color.
-
-
-
Method Detail
-
getFormatString
public String getFormatString()
Gets the format string.- Returns:
- formatString
-
setFormatString
public TickOptions setFormatString(String formatString)
Sets the format string.- Parameters:
formatString- the new format string- Returns:
- TickOptions
-
setAngle
public TickOptions setAngle(Integer angle)
Sets the angle.- Parameters:
angle- the angle to set- Returns:
- TickOptions
-
getAngle
public Integer getAngle()
Gets the angle.- Returns:
- the angle
-
getLabelPosition
public String getLabelPosition()
Gets the label position.- Returns:
- the labelPosition
-
setLabelPosition
public TickOptions setLabelPosition(String labelPosition)
Sets the label position.- Parameters:
labelPosition- to set- Returns:
- TickOptions
-
getMark
public String getMark()
Gets the mark.- Returns:
- the mark
-
setMark
public TickOptions setMark(String mark)
Sets the mark.- Parameters:
mark- the new mark- Returns:
- TickOptions
-
getShowMark
public Boolean getShowMark()
Gets the show mark.- Returns:
- the show mark
-
setShowMark
public TickOptions setShowMark(Boolean showMark)
Sets the show mark.- Parameters:
showMark- the new show mark- Returns:
- TickOptions
-
getShowGridline
public Boolean getShowGridline()
Gets the show gridline.- Returns:
- the show gridline
-
setShowGridline
public TickOptions setShowGridline(Boolean showGridline)
Sets the show gridline.- Parameters:
showGridline- the new show gridline- Returns:
- TickOptions
-
getIsMinorTick
public Boolean getIsMinorTick()
Gets the checks if is minor tick.- Returns:
- the checks if is minor tick
-
setIsMinorTick
public TickOptions setIsMinorTick(Boolean isMinorTick)
Sets the checks if is minor tick.- Parameters:
isMinorTick- the new checks if is minor tick- Returns:
- TickOptions
-
getMarkSize
public Integer getMarkSize()
Gets the mark size.- Returns:
- the mark size
-
setMarkSize
public TickOptions setMarkSize(Integer markSize)
Sets the mark size.- Parameters:
markSize- the new mark size- Returns:
- TickOptions
-
getShow
public Boolean getShow()
Gets the show.- Returns:
- the show
-
setShow
public TickOptions setShow(Boolean show)
Sets the show.- Parameters:
show- the new show- Returns:
- TickOptions
-
getShowLabel
public Boolean getShowLabel()
Gets the show label.- Returns:
- the show label
-
setShowLabel
public TickOptions setShowLabel(Boolean showLabel)
Sets the show label.- Parameters:
showLabel- the new show label- Returns:
- TickOptions
-
getLabel
public String getLabel()
Gets the label.- Returns:
- the label
-
setLabel
public TickOptions setLabel(String label)
Sets the label.- Parameters:
label- the new label- Returns:
- TickOptions
-
getPrefix
public String getPrefix()
Gets the prefix.- Returns:
- the prefix
-
setPrefix
public TickOptions setPrefix(String prefix)
Sets the prefix.- Parameters:
prefix- the new prefix- Returns:
- TickOptions
-
getFontFamily
public String getFontFamily()
Gets the font family.- Returns:
- the font family
-
setFontFamily
public TickOptions setFontFamily(String fontFamily)
Sets the font family.- Parameters:
fontFamily- the new font family- Returns:
- TickOptions
-
getFontSize
public String getFontSize()
Gets the font size.- Returns:
- the font size
-
setFontSize
public TickOptions setFontSize(String fontSize)
Sets the font size.- Parameters:
fontSize- the new font size- Returns:
- TickOptions
-
getFontWeight
public String getFontWeight()
Gets the font weight.- Returns:
- the font weight
-
setFontWeight
public TickOptions setFontWeight(String fontWeight)
Sets the font weight.- Parameters:
fontWeight- the new font weight- Returns:
- TickOptions
-
getFontStretch
public Double getFontStretch()
Gets the font stretch.- Returns:
- the font stretch
-
setFontStretch
public TickOptions setFontStretch(Double fontStretch)
Sets the font stretch.- Parameters:
fontStretch- the new font stretch- Returns:
- TickOptions
-
getTextColor
public String getTextColor()
Gets the text color.- Returns:
- the text color
-
setTextColor
public TickOptions setTextColor(String textColor)
Sets the text color.- Parameters:
textColor- the new text color- Returns:
- TickOptions
-
getEscapeHTML
public Boolean getEscapeHTML()
Gets the escape html.- Returns:
- the escape html
-
setEscapeHTML
public TickOptions setEscapeHTML(Boolean escapeHTML)
Sets the escape html.- Parameters:
escapeHTML- the new escape html- Returns:
- TickOptions
-
-