ptolemy.actor.gui
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: 57044 $
Author:
fracpete (fracpete at waikato dot ac dot nz)
Accepted Rating:
Red (cxh)
Proposed Rating:
Red (cxh)

Method Summary
 javax.swing.Box createQueryBox(PtolemyQuery query, Settable attribute)
          Create a customized query box for the given query.
 

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