Class zebkit.ui.PassTextField
extends <zebkit.ui.TextField>

Password text field.

zebkit.ui.PassTextField (txt, [maxSize], [showLast])

  • txt <String>

    password text

  • [maxSize] <Integer>

    maximal size

  • [showLast] <Boolean>

    indicates if last typed character should not be disguised with a star character

Inherited methods:
$setConstraints(c)    add(constr, d)    byConstraints([p], c)    byPath(path, [cb])    calcPreferredSize(t)    clearSelection( )    cut( )    doLayout( )    drawCursor(g)    findNextWord(t, line, col, d)    fire(event, [path], [params])    focused( )    getBottom( )    getCanvas( )    getColor( )    getComponentAt(x, y)    getEndSelection( )    getFont( )    getHorPadding( )    getLeft( )    getModel( )    getPreferredSize( )    getRight( )    getSelectedText( )    getStartSelection( )    getTextRowColAt(x, y)    getTop( )    getValue( )    getVerPadding( )    hasFocus( )    hasSelection( )    indexOf(c)    insert(i, constr, d)    invalidate( )    invalidateLayout( )    isFiltered(e)    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( )    redo( )    relocated(px, py)    remove(pos, size)    removeAll( )    removeAt(i)    removeByConstraints(ctr)    removeMe([after])    removeSelected( )    repaint([x], [y], [w], [h])    repaintCursor( )    requestFocus( )    requestFocusIn([timeout])    resized(pw, ph)    select(startOffset, endOffset)    selectAll( )    setAt(i, d)    setBackground(v)    setBlinking([period])    setBorder([v])    setBottomPadding(bottom)    setBounds(x, y, w, h)    setByConstraints(constr, c)    setColor(c)    setConstraints(ctr)    setCursorSize(w, h)    setCursorView(v)    setCursorWidth(w)    setEditable(b)    setEnabled(b)    setFont(f)    setHint(hint)    setId(id)    setKids(a)    setLayout(m)    setLeftPadding(left)    setLocation(xx, yy)    setModel(m)    setPadding(v)    setParent(o)    setPosition(p)    setPreferredSize(w, h)    setProperties([path], props)    setPSByRowsCols(r, c)    setRightPadding(right)    setSelectView(c)    setSize(w, h)    setTextAlignment(a)    setTopPadding(top)    setValue(s)    setView(v)    setVisible(b)    shortcutFired(e)    startSelection( )    toBack( )    toFront( )    toPreferredHeight( )    toPreferredSize( )    toPreferredWidth( )    toView(target)    undo( )    validate( )    validateMetric( )    vrp( )    write(pos, s)   

public chainable setShowLast (b)

Set flag that indicates if the last password character has to be visible.

  • b <Boolean>

    a boolean flag that says if last password character has to be visible.

Inherited attributes:
public zebkit.draw.View bg    public Number blinkigPeriod    public zebkit.draw.View border    public Boolean canHaveFocus    public Object constraints    public Integer cursorHeight    public String cursorType    public zebkit.draw.View cursorView    public Integer cursorWidth    public Integer cursorX    public Integer cursorY    public Integer height    public zebkit.draw.View hint    public Boolean isEditable    public Boolean isEnabled    public Boolean isValid    public Boolean isVisible    public Array kids    public zebkit.layout.Layout layout    public zebkit.layout.Layoutable parent    public zebkit.util.Position position    public zebkit.draw.View | String selectView    public String textAlign    public zebkit.draw.View view    public Integer width    public Integer x    public Integer y