Class
zebkit.draw.PasswordText
extends <zebkit.draw.TextRender> |
<zebkit.draw> |
Password text render class. This class renders a secret text with hiding it with the given character.
zebkit.draw.PasswordText
([text]
)
Parameters:
-
[text]
<String | zebkit.data.TextModel>a text as string or text model instance
Inherited methods:
getBottom( )
getLeft( )
getLine(r)
getLineHeight( )
getLines( )
getLineSize(l)
getMaxOffset( )
getPreferredSize( )
getRight( )
getTop( )
getValue( )
invalidate(start, size)
lineWidth(line)
ownerChanged(v)
paint(g, x, y, w, h, c)
paintLine(g, x, y, line, d)
paintSelection(g, x, y, w, h, line, d)
recalc( )
resizeFont(size)
restyleFont(style)
setColor(c)
setFont(f)
setValue(s)
textUpdated(e)
valueWasChanged(o, n)
public
chainable
setEchoChar (ch )
Set the specified echo character. The echo character is used to hide secret text. Parameters:
|
Inherited attributes:
public
String
color
public
String | zebkit.Font
font
public
Integer
lineIndent
protected
zebkit.layout.Layoutable
owner
public
Object
target




public
![]() showLast
Indicates if the last entered character doesn't have to be replaced with echo character |