Class
zebkit.ui.PointRulerPan
extends <zebkit.ui.RulerPan> |
<zebkit.ui> |
Pointer ruler class. The ruler uses generator class instance to get and render labels values
Inherited methods:
$getRulerSize( )
$setConstraints(c)
add(constr, d)
byConstraints([p], c)
byPath(path, [cb])
calcPreferredSize(target)
doLayout( )
fire(name, [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, ctr)
laidout( )
load(JSON)
off([eventName], [path], [cb])
on([eventName], [path], cb)
paintChildComponents(g, clipChild)
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])
replaceMe([ctr], c)
requestFocus( )
requestFocusIn([timeout])
resized(pw, ph)
setAt(i, d)
setBackground(v)
setBorder([v])
setBorderLayout([gap])
setBottomPadding(bottom)
setBounds(x, y, w, h)
setByConstraints(constr, c)
setColor(c)
setConstraints(ctr)
setEnabled(b)
setFlowLayout([ax], [ay], [dir], [gap])
setGap(gap)
setGrisLayout( )
setId(id)
setKids(a)
setLabelsAlignment(a)
setLabelsColor(color)
setLabelsFont(font)
setLabelsRender(r)
setLayout(m)
setLeftPadding(left)
setListLayout([ax], [gap])
setLocation(xx, yy)
setOrientation(o)
setPadding(v)
setParent(o)
setPreferredHeigh(h)
setPreferredSize(w, h)
setPreferredWidth(w)
setProperties([path], props)
setRange(min, max)
setRasterLayout([usePsSize])
setRightPadding(right)
setShowLabels(b)
setShowStrokes(b)
setSize(w, h)
setStackLayout([gap])
setStrokeSize(strokeSize)
setTopPadding(top)
setVisible(b)
showNumbers([precision])
showPercentage([precision])
toBack( )
toFront( )
toLocation(v)
toPreferredHeight( )
toPreferredSize( )
toPreferredWidth( )
toValue(xy)
toView(target)
validate( )
validateMetric( )
vrp( )
public
void
setPointsGenerator (g )
Set the points values generator Parameters:
|
public
chainable
useDeltaPointsGenerator (delta )
Setup delta points generator. The generator builds points sequence basing on incrementing the sequence with fixed delta number. Parameters:
|
Inherited attributes:
protected
Function
$matchPath
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





















Inherited events:
childEventName(e)
clipCopy()
clipPaste(s)
compAdded(e)
compEnabled(e)
compMoved(e)
compRemoved(e)
compShown(e)
compSized(e)
focusGained(e)
focusLost(e)
keyPressed(e)
keyReleased(e)
keyTyped(e)
pointerClicked(e)
pointerDragEnded(e)
pointerDragged(e)
pointerDragStarted(e)
pointerEntered(e)
pointerExited(e)
pointerMoved(e)
pointerPressed(e)
pointerReleased(e)