Class
zebkit.ui.web.HtmlWindow
extends <zebkit.ui.web.HtmlCanvas> |
<zebkit.ui.web> |
Class that wrapped window component with own HTML Canvas.
zebkit.ui.web.HtmlWindow
([content]
)
Parameters:
-
[content]
<zebkit.ui.Window>a window component or window root. If content is not defined it will be instantiated automatically. If the component is not passed the new window component (zebkit.ui.Window) will be created.
Inherited methods:
$setConstraints(c)
add(constr, d)
byConstraints([p], c)
byPath(path, [cb])
calcPreferredSize(target)
crotate(r)
doLayout( )
fire(name, [path], [params])
focused( )
getBottom( )
getCanvas( )
getComponentAt(x, y)
getHorPadding( )
getLeft( )
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)
project(x, y)
properties([path], props)
property([path], name, value)
recalc( )
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)
setAttribute(name, value)
setAttributes(attrs)
setBackground(v)
setBorder([v])
setBorderLayout([gap])
setBottomPadding(bottom)
setBounds(x, y, w, h)
setByConstraints(constr, c)
setColor(c)
setConstraints(ctr)
setContent(an)
setEnabled(b)
setFlowLayout([ax], [ay], [dir], [gap])
setFont(f)
setGrisLayout( )
setId(id)
setKids(a)
setLayout(m)
setLeftPadding(left)
setListLayout([ax], [gap])
setLocation(xx, yy)
setPadding(v)
setParent(o)
setPreferredHeigh(h)
setPreferredSize(w, h)
setPreferredWidth(w)
setProperties([path], props)
setRasterLayout([usePsSize])
setRightPadding(right)
setSize(w, h)
setStackLayout([gap])
setStyle(a, a)
setStyles(styles)
setTopPadding(top)
setVisible(b)
toBack( )
toFront( )
toPreferredHeight( )
toPreferredSize( )
toPreferredWidth( )
toView(target)
update(g)
validate( )
validateMetric( )
vrp( )
Inherited attributes:
private
HTMLElement
$container
private
CanvasRenderingContext2D
$context
private
Object
x:Integer, y:Integer, width:Integer, height:Integer
$da
protected
Function
$matchPath
public
zebkit.draw.View
bg
public
zebkit.draw.View
border
public
Boolean
canHaveFocus
public
Object
constraints
public
HTMLElement
element
public
Integer
height
private
Boolean
isDOMElement
public
Boolean
isEnabled
public
Boolean
isValid
public
Boolean
isVisible
public
Array
kids
public
zebkit.layout.Layout
layout
public
zebkit.layout.Layoutable
parent
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)