Documentation in progress: please use the 3.4 Reference Manual.

Name

checkdragstate

Synopsis

LZX: checkdragstate
JavaScript: lz.checkdragstate
Type: Class
Access: public
Topic: Incubator.Components
Declared in: lps/components/incubator/draglib.lzx

Description

This should be declared as a child of the thing for which you want to enable dragging. You will need to define a view (an instance of a subclass of basedragimage) to define the visual look of the thing while its being dragged.
The object that you want to accept a drop action, needs to register with LzTrack using the same group as is declared in the dragimage.

Superclass Chain

node (LzNode) » state (LzState) » checkdragstate

Known Subclasses

Details

Properties (1)

draggername
<attribute name="draggername" type="string" value="dragimage" />
public var draggername : String;
an instance subclass of basedragimage that defines the visual representation of the item while it is being dragged

LZX Synopsis

<class name="lz.checkdragstate" extends=" LzState ">
  <attribute name=" draggername " type="string" value="dragimage" />
</class>

JavaScript Synopsis

public lz.checkdragstate extends  LzState  {
  public var draggername  : String;
}