Zebra API Doc

zebra.ui.CompositeEvStatePan Class

Composite event state panel

Constructor

zebra.ui.CompositeEvStatePan

()

Methods

catchInput

(
  • c
)
Boolean

Inherited from zebra.ui.Composite:

The method is called to ask if the given children UI component has to be input events transparent

Parameters:


Return: Boolean

true if the given children component has to be input events transparent

setCanHaveFocus

(
  • b
)

Says if the component can hold focus or not

Parameters:

  • b Boolean

    true if the component can gain focus

setFocusAnchorComponent

(
  • c
)

Set the specified children component to be used as focus marker view anchor component. Anchor component is a component over that the focus marker view is painted.

Parameters:

setFocusMarkerView

(
  • c
)

Set the view that has to be rendered as focus marker when the component gains focus.

Parameters:

  • c String | zebra.ui.View | Function

    a view. The view can be a color or border string code or view or an implementation of zebra.ui.View "paint(g,x,y,w,h,t)" method.

Attributes

canHaveFocus

Boolean readonly

Indicates if the component can have focus

focusMarkerView

zebra.ui.Panel readonly

Reference to an anchor focus marker component