public class Tick extends ScaleElement
filling, outline, RelativeCoordinates, RelativeStroke| Constructor and Description |
|---|
Tick(TickSettings settings)
Initializes a new instance of the
Tick class. |
| Modifier and Type | Method and Description |
|---|---|
void |
arrange(double x,
double y,
double w,
double h,
RenderContext context)
Sets the location and size of this component relative to its parent.
|
Brush |
getEffectiveFill(RenderContext context) |
Pen |
getEffectiveStroke(RenderContext context) |
double |
getRawValue()
Gets the value associated with this tick before it was processed
by any value distribution functions.
|
TickSettings |
getSettings()
Gets the
TickSettings object associated with this tick. |
double |
getValue()
Gets the value associated with this tick.
|
void |
measure(double maxWidth,
double maxHeight,
RenderContext context)
Measures the desired size of this component.
|
java.lang.String |
toString() |
addScaleElementListener, hitTest, onClicked, removeScaleElementListenerdraw, hitTestObjaddVisualElementListener, getFill, getMargin, getName, getStroke, onInvalidated, onPostpaint, onPrepaint, onQueryAmbientPropertyValue, removeVisualElementListener, setFill, setMargin, setName, setStrokeadd, associateJComponent, createController, dissociateJComponent, effectiveMeasuredHeight, effectiveMeasuredWidth, getActualHeight, getActualWidth, getDesiredHeight, getDesiredWidth, getGridColumn, getGridRow, getHeight, getHitTestVisibility, getHorizontalAlignment, getParent, getRectInParent, getToolTip, getVerticalAlignment, getVisibility, getWidth, getXInParent, getYInParent, invalidate, invalidate, invalidate, invalidateLayout, invalidateLayout, localToRoot, rootToLocal, setActualHeight, setActualWidth, setDesiredHeight, setDesiredWidth, setGridColumn, setGridRow, setHeight, setHitTestVisibility, setHorizontalAlignment, setParent, setToolTip, setVerticalAlignment, setVisibility, setWidth, setXInParent, setYInParent, visitpublic Tick(TickSettings settings)
Tick class.public java.lang.String toString()
toString in class VisualElementpublic void measure(double maxWidth,
double maxHeight,
RenderContext context)
VisualElementmeasure in class VisualElementContainermaxWidth - The maximum width provided by parent component.maxHeight - The maximum height provided by parent component.context - A RenderContext instance.public void arrange(double x,
double y,
double w,
double h,
RenderContext context)
VisualElementarrange in class VisualElementContainerx - A double value specifying horizontal position.y - A double value specifying vertical position.w - A double value specifying the component's width.h - A double value specifying the component's height.context - A RenderContext instance.public Brush getEffectiveFill(RenderContext context)
getEffectiveFill in class VisualElementpublic Pen getEffectiveStroke(RenderContext context)
public double getValue()
public double getRawValue()
public TickSettings getSettings()
TickSettings object associated with this tick.