Interface IUIComponentLinkEnabler

All Superinterfaces:
IAdaptable, IGProp<GProp<?>[]>, IJavaMethodLinkEnabler, ILinkCapable, IPropCnr
All Known Subinterfaces:
IEUIComp, IEUIContainer, IEUIPanel
All Known Implementing Classes:
ECalendarEvent, EMapMarkerProp, EMapMarkers, EMLDefaultItemProp, EMLGroup, EMList, EMLItemProp, EMUIHeading, EMUISimpleDialog, EMUISwitch, EMUITabBar, EUIAccordion, EUIButton, EUICalendar, EUICalendarList, EUIChart, EUICheckBox, EUICheckedMenuItem, EUIComboBox, EUIContainer, EUIContextMenu, EUIDateTime, EUIDialog, EUIEmpty, EUIGauge, EUIImage, EUIImage2, EUILabel, EUIMap, EUIMedia, EUIMenu, EUIMenuBar, EUIMenuItem, EUIMenuSeparator, EUIOutput, EUIPanel, EUIPanelPart, EUIPanelPartCnr, EUIProgress, EUIRadioButton, EUIRadioMenuItem, EUISlider, EUISpinner, EUISwapContainer, EUITabContainer, EUITable, EUITableColumn, EUIText, EUITextArea, EUITitlePane

public interface IUIComponentLinkEnabler extends IJavaMethodLinkEnabler
Link interface implemented by UIComponents.
Author:
Christopher Mindus
  • Method Details

    • getUIPanel

      UIPanelBase getUIPanel()
      Gets the panel for the UI component.

      This method is defined for all UI components and only serves the purpose of a call in the default implementation in this interface.

      Returns:
      The panel.
    • getJavaClassLinkEnabler

      default IJavaClassLinkEnabler getJavaClassLinkEnabler()
      Gets the instance that links to the class.
      Specified by:
      getJavaClassLinkEnabler in interface IJavaMethodLinkEnabler
      Returns:
      The class link enabler instance, never null.
    • getRelativeMethodAnnotationReference

      default String getRelativeMethodAnnotationReference()
      Gets the annotation relative reference to the element.
      Specified by:
      getRelativeMethodAnnotationReference in interface IJavaMethodLinkEnabler
      Returns:
      The relative reference in the method annotation of e.g. "OnUIFocus" for this component.
    • isUIComponentLinkCapable

      default IStatus isUIComponentLinkCapable(LinkData data)
      Returns if this property container could potentially be link capable.

      This call is done many times during drag-drop and must be very fast and not cause too much garbage collection.

      Parameters:
      data - The link data.
      Returns:
      The status of capability of the operation.
    • getUIComponentLinkOperations

      default Collection<ILinkOperation> getUIComponentLinkOperations(LinkData data)
      Called when the drag-drop is to be performed (link or paste-link menu item). The link-capable instance fills in only what it handles.
      Parameters:
      data - The link data.
      Returns:
      The list of operations required.