| javax.swing.JDialog org.netbeans.modules.sql.framework.ui.view.graph.LiteralDialog
LiteralDialog | public class LiteralDialog extends JDialog implements ActionListener(Code) | | Configures type and value of an SQLBuilder literal element.
author: Jonathan Giron version: $Revision$ |
Inner Class :class ButtonKeyAdapter extends KeyAdapter | |
DISPLAY_NAMES | final public static String[] DISPLAY_NAMES(Code) | | |
LiteralDialog | public LiteralDialog(Frame parent, String title, boolean modal)(Code) | | Creates a new LiteralDialog object.
Parameters: title - Parameters: modal - |
actionPerformed | public void actionPerformed(ActionEvent e)(Code) | | Parameters: e - ActionEvent to handle. |
evaluateIfLiteralValid | final public static String evaluateIfLiteralValid(String literalVal, int type)(Code) | | |
getLiteral | public String getLiteral()(Code) | | Gets user-defined literal value.
String representing literal value |
getType | public int getType()(Code) | | Gets user-selected JDBC datatype of this literal
JDBC datatype, as enumerated in java.sql.Types |
isCanceled | public boolean isCanceled()(Code) | | Indicates whether user cancelled this dialog box.
true if user cancelled dialog box, false otherwise. |
isValidLiteral | final public static boolean isValidLiteral(String literalVal, int type)(Code) | | Indicates whether the given String value is a valid representation of a literal of
the given type, displaying a GUI error message dialog if it is not.
Parameters: literalVal - value to test Parameters: type - asserted JDBC type of literal true if literalVal is valid; false otherwise |
main | public static void main(String args)(Code) | | Exposes standalone test entry-point.
Parameters: args - command-line arguments |
|
|