Interface ILcyCustomizerPanelFactory

All Known Implementing Classes:
com.luciad.internal.lucy.gui.customizer.lightspeed.ALcyArrayCustomizerPanelFactory, ALcyCustomizerPanelFactory, TLcyCompositeCustomizerPanelFactory, TLcyEditableAPP6AObjectCustomizerPanelFactory, TLcyEditableMS2525bObjectCustomizerPanelFactory, TLcyGXYAsynchronousLayerCustomizerPanelFactory, TLcyLspLayerCustomizerPanelFactory, TLcyLspStyledLayerCustomizerPanelFactory, TLcyPrintAreaCustomizerFactory

public interface ILcyCustomizerPanelFactory

Factory to creates instances of ILcyCustomizerPanel. An implementation can only create customizer panels for a certain object when canCreateCustomizerPanel returns true for that object.

Uses the abstract factory design pattern.

  • Method Details

    • canCreateCustomizerPanel

      boolean canCreateCustomizerPanel(Object aObject)

      Returns true if createObjectCustomizer will return a customizer that can handle the given object, false otherwise.

      Parameters:
      aObject - The object to test if a customizer can be created for it.
      Returns:
      true if createObjectCustomizer will return a customizer that can handle the given object, false otherwise.
      See Also:
    • createCustomizerPanel

      ILcyCustomizerPanel createCustomizerPanel(Object aObject)

      Creates a new instance of ILcyCustomizerPanel. Users of this method will most likely set an object to the returned ILcyCustomizerPanel using ILcyCustomizerPanel.setObject(Object). Whether that is possible can be verified in advance using canCreateCustomizerPanel(Object).

      Parameters:
      aObject - The object to create an ILcyCustomizerPanel for.
      Returns:
      a new instance of ILcyCustomizerPanel.
      Throws:
      IllegalArgumentException - If canCreateCustomizerPanel returns false for aObject.
      See Also: