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 Link icon

  • Constructor Details Link icon

    • UIDataHandler Link icon

      public UIDataHandler()
    • UIDataHandler Link icon

      public UIDataHandler(String key)
  • Method Details Link icon

    • getDataFlavors Link icon

      public DataFlavor[] getDataFlavors()
    • isDataFlavorSupported Link icon

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

      public boolean isDataFlavorSupported(DataFlavor[] flav)
    • getDataFlavorSupported Link icon

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

      public DataFlavor getDataFlavorSupported(DataFlavor[] flav)
    • loadData Link icon

      public abstract Object loadData(Object t)
    • readAttribute Link icon

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