Class zebkit.ui.LinearRulerPan
extends <zebkit.ui.RulerPan>
<zebkit.ui>

Linear ruler class. The ruler draws strokes using dedicated pixel delta value.

Constructor:
zebkit.ui.LinearRulerPan ([o])

Parameters:
  • [o] <String>

    an orientation (use "vertical" or "horizontal" as the parameter value)





Inherited methods:
$getRulerSize( )    $setConstraints(c)    add(constr, d)    byConstraints([p], c)    byPath(path, [cb])    calcPreferredSize(target)    doLayout( )    fire(event, [path], [params])    focused( )    getBottom( )    getCanvas( )    getComponentAt(x, y)    getHorPadding( )    getLeft( )    getMax( )    getMin( )    getPreferredSize( )    getRight( )    getTop( )    getVerPadding( )    hasFocus( )    indexOf(c)    insert(i, constr, d)    invalidate( )    invalidateLayout( )    kidAdded(index, constr, l)    kidRemoved(i, l)    laidout( )    load(JSON)    off([eventName], [path], [cb])    on([eventName], [path], cb)    paintComponent(g)    paintViewAt(g, ax, ay, v)    properties([path], props)    property([path], name, value)    recalc( )    recalcMetrics( )    relocated(px, py)    remove(c)    removeAll( )    removeAt(i)    removeByConstraints(ctr)    removeMe([after])    repaint([x], [y], [w], [h])    requestFocus( )    requestFocusIn([timeout])    resized(pw, ph)    setAt(i, d)    setBackground(v)    setBorder([v])    setBottomPadding(bottom)    setBounds(x, y, w, h)    setByConstraints(constr, c)    setColor(c)    setConstraints(ctr)    setEnabled(b)    setGap(gap)    setId(id)    setKids(a)    setLabelsAlignment(a)    setLabelsColor(color)    setLabelsFont(font)    setLabelsRender(r)    setLayout(m)    setLeftPadding(left)    setLocation(xx, yy)    setOrientation(o)    setPadding(v)    setParent(o)    setPreferredSize(w, h)    setProperties([path], props)    setRange(min, max)    setRightPadding(right)    setShowLabels(b)    setShowStrokes(b)    setSize(w, h)    setStrokeSize(strokeSize)    setTopPadding(top)    setVisible(b)    showNumbers([precision])    showPercentage([precision])    toBack( )    toFront( )    toLocation(v)    toPreferredHeight( )    toPreferredSize( )    toPreferredWidth( )    toValue(xy)    toView(target)    validate( )    validateMetric( )    vrp( )   




Inherited attributes:
public zebkit.draw.View bg    public zebkit.draw.View border    public Boolean canHaveFocus    public String color    public Object constraints    public Integer gap    public Integer height    public Boolean isEnabled    public Boolean isValid    public Boolean isVisible    public Array kids    public String labelsAlignment    public zebkit.layout.Layout layout    public Integer lineWidth    public String orient    public zebkit.layout.Layoutable parent    protected zebkit.draw.BaseViewProvider provider    public Boolean showLabels    public Boolean showStrokes    public Integer strokeSize    public Integer width    public Integer x    public Integer y