Class DragDropLinkAdapter

java.lang.Object
com.iizix.prop.GProp<GProp<?>[]>
com.iizix.prop.PropCnr
com.iizigo.panel.prop.DragDropLinkAdapter
All Implemented Interfaces:
EventListener, IGProp<GProp<?>[]>, IPropCnr, Cloneable

public class DragDropLinkAdapter extends PropCnr
Component acting as a drag-drop adapter when dragging non-UI components into the JavaScript Panel Editor.

The adapter displays the most common component image that will be used, and makes it possible to use a single class on the JS side for all.

Author:
Christopher Mindus
  • Constructor Details

    • DragDropLinkAdapter

      public DragDropLinkAdapter()
      Default constructor must be present but is really unused.
    • DragDropLinkAdapter

      public DragDropLinkAdapter(Atom name, ILinkCapable linkCapable)
      Constructor for the component to adapt for.
      Parameters:
      name - The name of the property.
      linkCapable - The link capable component.
  • Method Details

    • getLinkCapable

      public ILinkCapable getLinkCapable()
      Gets the source linkable element.