| java.lang.Object net.sourceforge.squirrel_sql.client.session.sqlfilter.WhereClausePanel
WhereClausePanel | public class WhereClausePanel implements ISQLFilterPanel(Code) | | This panel allows the user to change the where clause for a Contents tab query.
author: Maury Hammel |
WhereClausePanel | public WhereClausePanel(SortedSet<String> columnList, Map<String, Boolean> textColumns, String tableName) throws IllegalArgumentException(Code) | | Create a new instance of a WhereClausePanel.
Parameters: columnList - A list of column names for the database table. Parameters: textColumns - A collection of column names that are "text"columns. Parameters: tableName - The name of the database table that the filterinformation will apply to. throws: IllegalArgumentException - The exception thrown if invalid arguments are passed. |
applyChanges | public void applyChanges()(Code) | | Update the current session with any changes to the SQL filter
information.
|
clearFilter | public void clearFilter()(Code) | | Erase any information for the appropriate filter.
|
getClauseIdentifier | public static String getClauseIdentifier()(Code) | | Get a value that uniquely identifies this SQL filter clause.
Return a String value containing an identifing value. |
getHint | public String getHint()(Code) | | Get the hint text associated with the panel.
A String value containing the hint text associated with the panel. |
getPanelComponent | public Component getPanelComponent()(Code) | | Returns the panel created by the class.
Return an instance of a WhereClauseSubPanel. |
getTitle | public String getTitle()(Code) | | Get the title of the panel.
Return a string containing the title of the panl. |
initialize | public void initialize(SQLFilterClauses sqlFilterClauses) throws IllegalArgumentException(Code) | | Initialize the components of the WhereClausePanel.
Parameters: sqlFilterClauses - An instance of a class containing informationabout SQL filters already in place for the table. throws: IllegalArgumentException - Thrown if an invalid argument is passed. |
|
|