Class zebkit.ui.event.CompEvent
extends <zebkit.Event>
<zebkit.ui.event>

Component event class. Component events are fired when:

  • a component is re-located ("compMoved" event)
  • a component is re-sized ("compResized" event)
  • a component visibility is updated ("compShown" event)
  • a component is enabled ("compEnabled" event)
  • a component has been inserted into another component ("compAdded" event)
  • a component has been removed from another component ("compRemoved" event)

Appropriate event type is set in the event id property.

Constructor:
zebkit.ui.event.CompEvent ( )




Inherited attributes:
public Object source   



public <Object> constraints

A constraints with that a kid component has been added or removed (depending on event type).

public <Integer> height

A previous height the component has had.

public <Integer> index

An index at which a component has been added or removed.

public <zebkit.ui.Panel> kid

A kid component that has been added or removed (depending on event type).

public <Integer> prevWidth

A previous width the component has had.

public <Integer> prevX

A previous x location the component has had.

public <Integer> prevY

A previous y location the component has had.