org.tbee.swing.jpa.searchComponent
Class JpaEntitySearchComponentJComboBoxJCheckBox

java.lang.Object
  extended by org.tbee.swing.jpa.searchComponent.JpaEntitySearchComponent
      extended by org.tbee.swing.jpa.searchComponent.JpaEntitySearchComponentJComboBoxJCheckBox

public class JpaEntitySearchComponentJComboBoxJCheckBox
extends JpaEntitySearchComponent


Field Summary
static String OPERATOR_EQUALS
           
static String OPERATOR_NONE
           
static String OPERATOR_NOTEQUALS
           
static String OPERATOR_NOTNULL
           
static String OPERATOR_NULL
           
 
Constructor Summary
JpaEntitySearchComponentJComboBoxJCheckBox(JpaEntitySearchBuilder builder, JpaEntitySearchBuilder.SearchableField searchableField, String path)
           
 
Method Summary
 boolean addComponent(Container c, net.miginfocom.swing.MigLayout migLayout, int i)
          add component to the builder's grid
 void clear()
           
 void clearOrDefault()
           
 JpaEntitySearchComponentJComboBoxJCheckBox createLinkedClone()
          Create a linked clone, that is a copy that automatically syncs changes.
 String getDefaultOperator()
           
 String getDefaultValue()
           
 JpaEntitySearchBuilder.JPQL getJPQL(String entityAlias)
           
static void setDefaultOperator(String pathToField, String operator)
          DefaultOperator
static void setDefaultValue(String pathToField, String value)
          DefaultValue
 void setVisible(boolean value)
           
 
Methods inherited from class org.tbee.swing.jpa.searchComponent.JpaEntitySearchComponent
createLogPrefix, getJpaEntitySearchBuilder, getPath, getPathForConfig, getSearchableField, getType, setJpaEntitySearchBuilder, setPath, setSearchableField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPERATOR_NONE

public static final String OPERATOR_NONE
See Also:
Constant Field Values

OPERATOR_EQUALS

public static final String OPERATOR_EQUALS
See Also:
Constant Field Values

OPERATOR_NOTEQUALS

public static final String OPERATOR_NOTEQUALS
See Also:
Constant Field Values

OPERATOR_NULL

public static final String OPERATOR_NULL
See Also:
Constant Field Values

OPERATOR_NOTNULL

public static final String OPERATOR_NOTNULL
See Also:
Constant Field Values
Constructor Detail

JpaEntitySearchComponentJComboBoxJCheckBox

public JpaEntitySearchComponentJComboBoxJCheckBox(JpaEntitySearchBuilder builder,
                                                  JpaEntitySearchBuilder.SearchableField searchableField,
                                                  String path)
Method Detail

addComponent

public boolean addComponent(Container c,
                            net.miginfocom.swing.MigLayout migLayout,
                            int i)
add component to the builder's grid

Specified by:
addComponent in class JpaEntitySearchComponent

clear

public void clear()
Specified by:
clear in class JpaEntitySearchComponent

clearOrDefault

public void clearOrDefault()
Specified by:
clearOrDefault in class JpaEntitySearchComponent

getJPQL

public JpaEntitySearchBuilder.JPQL getJPQL(String entityAlias)
Specified by:
getJPQL in class JpaEntitySearchComponent

createLinkedClone

public JpaEntitySearchComponentJComboBoxJCheckBox createLinkedClone()
Create a linked clone, that is a copy that automatically syncs changes.

Specified by:
createLinkedClone in class JpaEntitySearchComponent

setVisible

public void setVisible(boolean value)
Specified by:
setVisible in class JpaEntitySearchComponent

setDefaultOperator

public static void setDefaultOperator(String pathToField,
                                      String operator)
DefaultOperator


getDefaultOperator

public String getDefaultOperator()

setDefaultValue

public static void setDefaultValue(String pathToField,
                                   String value)
DefaultValue


getDefaultValue

public String getDefaultValue()


Copyright © 2012 KnowledgePlaza. All Rights Reserved.