public class QueryBuilder extends JPanel
| Modifier and Type | Class and Description |
|---|---|
protected static class |
QueryBuilder.ColumnsComparator |
protected static class |
QueryBuilder.ConditionsTableModel |
protected static class |
QueryBuilder.CustomDefaultListCellRenderer |
protected static class |
QueryBuilder.CustomTableCellRenderer |
protected static class |
QueryBuilder.CustomTableCellRendererExpression |
protected static class |
QueryBuilder.EJTable |
protected static class |
QueryBuilder.ETable |
protected static class |
QueryBuilder.ExpressionRenderer |
protected static class |
QueryBuilder.ExpTable |
protected static class |
QueryBuilder.ParameterValuesTable |
protected static class |
QueryBuilder.pvTable |
protected static class |
QueryBuilder.pvTableModel |
protected static class |
QueryBuilder.SimpleExpressionsDialog |
JPanel.AccessibleJPanelJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategyaccessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
QueryBuilder() |
QueryBuilder(ResourceBundle bundle,
String[] lCols,
String[] tCols,
SQLStatementBuilder.Expression initExpression) |
QueryBuilder(Vector entityList,
ResourceBundle bundle,
EntityReferenceLocator locator,
boolean okCancel,
QueryExpression initQuery,
boolean mostrarCols,
String[] tCols) |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic static final String ANY_COLUMN
public static boolean DEBUG
protected JButton bOKCons
protected JButton bCancelCons
protected JButton bStore
protected JButton bPreview
protected JButton bSave
protected JButton bLoad
protected JButton bCols
protected JButton bClear
protected JButton bNew
protected JButton bDelete
protected JButton bOR
protected JButton bAnd
protected JButton bModif
protected JButton bValues
protected JButton bClearValues
protected JButton bSplit
protected JButton bAndN
protected JButton bORN
protected JButton bHelp
protected JButton bHelp2
protected JTextArea text
protected JPanel pButtons
protected JPanel pOKCancel
protected boolean cancelPressed
protected JPanel panelQuery
protected QueryBuilder.EJTable table
protected JScrollPane js
protected JComboBox comboEntities
protected String[] cols
protected boolean[] queryColumns
protected int[] types
protected ResourceBundle bundle
protected QueryBuilder.SimpleExpressionsDialog expressionDialog
protected EntityReferenceLocator locator
protected String entity
protected Vector entityList
protected boolean okCancel
protected boolean showColumns
protected static QueryBuilder.ParameterValuesTable pvt
protected static JDialog queryBuilderDialog
protected static QueryBuilder qb
public QueryBuilder(Vector entityList, ResourceBundle bundle, EntityReferenceLocator locator, boolean okCancel, QueryExpression initQuery, boolean mostrarCols, String[] tCols)
public QueryBuilder(ResourceBundle bundle, String[] lCols, String[] tCols, SQLStatementBuilder.Expression initExpression)
public QueryBuilder()
public boolean getBasicSave()
public boolean setBasicSave(boolean basicSave)
public static int getVarchar()
public static int getDate()
public static int getNumber()
public static int getAny()
public static boolean needsExpressionParameters(SQLStatementBuilder.Expression e)
public static boolean hasExpressionParameters(SQLStatementBuilder.Expression e)
protected static Hashtable getColumnTypes(String e, ResourceBundle bu)
public String getEntity()
public String[] getCols()
public boolean[] getQueryColumns()
protected int[] getTypes()
protected static boolean showParameterValuesTable(Component c, ResourceBundle b, JTable t, String[] cols, int[] types)
protected static boolean showParameterValuesTable(Component c, ResourceBundle b, SQLStatementBuilder.Expression e, String[] cols, int[] types)
public static boolean showParameterValues(Component c, ResourceBundle b, SQLStatementBuilder.Expression e, String[] co, int[] ty)
public static boolean showParameterValuesTable(Component c, ResourceBundle b, SQLStatementBuilder.Expression e, String entity)
public static boolean showParameterValuesTable(Component c, ResourceBundle b, QueryExpression qe)
protected void simpleAll()
protected void installButtonListeners()
protected boolean isCancelPressed()
public void setColumns(String[] cols, int[] types)
protected SQLStatementBuilder.Operator[] getColumnTypeOperators(int type)
protected void installTableListener()
protected void saveQuery()
protected void loadQuery()
public SQLStatementBuilder.Expression getExpression()
public void setExpression(SQLStatementBuilder.Expression ex)
protected void removeExpression()
public static int[] convertType(List type)
protected static String getStringType(int i)
public static int getTypeCol(String type)
public static boolean isTextType(int i)
public static int[] getAllColsType(String[] col)
public static QueryExpression showQueryBuilder(Component c, String entity, ResourceBundle bundle, EntityReferenceLocator locator)
public static QueryExpression showQueryBuilder(Component c, String entity, ResourceBundle bundle, EntityReferenceLocator locator, boolean okCancel)
public static QueryExpression showQueryBuilder(Component c, String entity, ResourceBundle bundle, EntityReferenceLocator locator, QueryExpression initQuery)
public static QueryExpression showQueryBuilder(Component c, String entity, ResourceBundle bundle, EntityReferenceLocator locator, QueryExpression initQuery, boolean okCancel)
public static QueryExpression showQueryBuilder(Component c, String entity, ResourceBundle bundle, EntityReferenceLocator locator, QueryExpression initQuery, boolean okCancel, boolean openList)
public static QueryExpression showQueryBuilder(Component c, String entity, ResourceBundle bundle, EntityReferenceLocator locator, QueryExpression initQuery, boolean okCancel, boolean openList, boolean showCols)
public static QueryExpression showQueryBuilder(Component c, String entity, ResourceBundle bundle, EntityReferenceLocator locator, QueryExpression initQuery, boolean okCancel, boolean openList, boolean showCols, String[] tCols)
public static QueryExpression showQueryBuilder(Component c, String entity, ResourceBundle bundle, EntityReferenceLocator locator, QueryExpression initQuery, boolean okCancel, boolean openList, boolean mostrarCols, String[] tCols, Vector lastName)
public static QueryExpression showQueryBuilder(Component c, String entity, ResourceBundle bundle, EntityReferenceLocator locator, SQLStatementBuilder.Expression initQuery, boolean okCancel, boolean openList)
public static QueryExpression showQueryBuilder(Component c, Vector entities, ResourceBundle bundle, EntityReferenceLocator locator)
public static QueryExpression showQueryBuilder(Component c, Vector v, ResourceBundle bundle, EntityReferenceLocator locator, QueryExpression initQuery, boolean okCancel, boolean openCols, boolean showCols)
public static QueryExpression showQueryBuilder(Component c, Vector v, ResourceBundle bundle, EntityReferenceLocator locator, QueryExpression initQuery, boolean okCancel, boolean openList, boolean showCols, String[] tCols)
public static QueryExpression showQueryBuilder(Component c, Vector v, ResourceBundle bundle, EntityReferenceLocator locator, QueryExpression initQuery, boolean okCancel, boolean openList, boolean showCols, String[] tCols, Vector lastName)
public static QueryExpression showQueryBuilder(Component c, ResourceBundle bundle, String[] columns, String[] types, SQLStatementBuilder.Expression initExpression, Vector lastName)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.