Class AttributeQueryPanel

All Implemented Interfaces:
QueryInterface, ImageObserver, MenuContainer, Serializable, Accessible

public class AttributeQueryPanel extends JPanel implements QueryInterface
See Also:
  • Constructor Details

    • AttributeQueryPanel

      public AttributeQueryPanel(JMapApplicationContext appContext, AttributeQuery attributeQuery)
      Constructs a search panel with the specified attribute query. The Options panel will be visible.
      Parameters:
      appContext - the JMapApplicationContext
      attributeQuery - the attribute query
    • AttributeQueryPanel

      public AttributeQueryPanel(JMapApplicationContext appContext, AttributeQuery attributeQuery, AttributeQueryParamValidator validator)
      Constructs a search panel with the specified attribute query and validator.
      Parameters:
      appContext - the JMapApplicationContext
      attributeQuery - the attribute query
      validator - the attribute query param validator. May be null
  • Method Details

    • getName

      public String getName()
      Description copied from interface: QueryInterface
      Returns the name of this query interface.
      Specified by:
      getName in interface QueryInterface
      Overrides:
      getName in class Component
      Returns:
      name of this query interface
    • getIcon

      public Icon getIcon()
      Description copied from interface: QueryInterface
      Returns the display icon. If null, a default icon will be used.
      Specified by:
      getIcon in interface QueryInterface
      Returns:
      a display icon
    • saveUserParameter

      protected void saveUserParameter()
    • updateQuerieAction

      public void updateQuerieAction(QueriesAction queriesAction, Boolean saveUserParameter)
    • reset

      public void reset()
      Description copied from interface: QueryInterface
      Resets the interface.
      Specified by:
      reset in interface QueryInterface
    • destroy

      public void destroy()
      Description copied from interface: QueryInterface
      Destroys the interface.
      Specified by:
      destroy in interface QueryInterface