Module platform

Class UIDataHandler

All Implemented Interfaces:
Manageable, PersistenceCapable, Shareable, RegistryContext, UserFields, XObject, Described, Map, Serializable
Direct Known Subclasses:
ItemData, ReferenceData

public abstract class UIDataHandler extends Item
Item that enables a UITransferHandler to know what type of dataflavor the panel can import.
See Also:
  • Field Details

  • Constructor Details

    • UIDataHandler

      public UIDataHandler()
    • UIDataHandler

      public UIDataHandler(String key)
  • Method Details

    • getDataFlavors

      public DataFlavor[] getDataFlavors()
    • isDataFlavorSupported

      public boolean isDataFlavorSupported(DataFlavor f)
      Test if the remote flavor can be cast on one of the accepted flavor
    • isDataFlavorSupported

      public boolean isDataFlavorSupported(DataFlavor[] flav)
    • getDataFlavorSupported

      public DataFlavor getDataFlavorSupported(DataFlavor f)
      Get the flavor that support the incoming flav
    • getDataFlavorSupported

      public DataFlavor getDataFlavorSupported(DataFlavor[] flav)
    • loadData

      public abstract Object loadData(Object t)
    • readAttribute

      protected boolean readAttribute(String uri, String name, String value) throws SAXException
      Overrides:
      readAttribute in class Item
      Throws:
      SAXException