Interface CustomQueryBoxParameter


  • public interface CustomQueryBoxParameter
    An interface for Parameter classes that supply their own customized GUI element for modifying the query content.

    See http://www.scms.waikato.ac.nz/~fracpete/downloads/ptolemy/custom_query_boxes/

    Since:
    Ptolemy II 8.0
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Red (cxh)
    • Method Detail

      • createQueryBox

        javax.swing.Box createQueryBox​(PtolemyQuery query,
                                       Settable attribute)
                                throws IllegalActionException
        Create a customized query box for the given query.
        Parameters:
        query - the query to add the custom box to
        attribute - the attribute the query box is associated with
        Returns:
        a query box.
        Throws:
        IllegalActionException - if something goes wrong