|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.dataselectors.filters.DefaultFilterLogicTestNode
public class DefaultFilterLogicTestNode
Field Summary | |
---|---|
protected FilterConditionInterface |
condition
|
protected FilterItemInterface |
item
|
protected java.util.List |
qualifiers
|
protected java.util.List |
values
|
Fields inherited from class com.sas.dataselectors.filters.AbstractFilterLogicBaseNode |
---|
description, label, propertyChangeSupport |
Constructor Summary | |
---|---|
DefaultFilterLogicTestNode()
Constructs a new test node with the default properties. |
|
DefaultFilterLogicTestNode(FilterItemInterface item,
java.util.List qualifiers,
FilterConditionInterface condition,
java.util.List values)
Constructs a new test node with the given properties. |
|
DefaultFilterLogicTestNode(FilterLogicTestNodeInterface duplicate)
Constructs a new test node as a duplicate of the given test node. |
|
DefaultFilterLogicTestNode(java.lang.Object userObject)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates a new node with the same user object, label, and description. |
boolean |
equals(java.lang.Object obj)
Returns true if the given object implements FilterLogicTestNodeInterface and the properties of this test node and the given test node are equivalent. |
boolean |
getAllowsChildren()
Returns true if the node allows children, false otherwise. |
FilterConditionInterface |
getCondition()
Returns the filter condition for this test node. |
FilterItemInterface |
getFilterItem()
Returns the filter item for this test node. |
java.util.List |
getFilterItemQualifiers()
Returns the list of qualifiers applied to the filter item for this test node to further refine the filter. |
int |
getMaxChildren()
Returns the maximum number of child nodes allowed. |
java.util.List |
getTestValuesList()
Returns a List of objects that were selected as values for this test node or null if none have been supplied. |
boolean |
isLeaf()
Returns true if the node is a leaf, false otherwise. |
void |
setCondition(FilterConditionInterface condition)
Sets the filter condition for this test node. |
void |
setFilterItem(FilterItemInterface item)
Sets the filter item assigned to this test node. |
void |
setFilterItemQualifiers(java.util.List qualifiers)
Sets the list of qualifiers to be applied to the filter item for this test node to further refine the resulting filter. |
void |
setTestValuesList(java.util.List values)
Sets the list of values for this test node. |
java.lang.String |
toString()
Returns a text representation of this test node. |
Methods inherited from class com.sas.dataselectors.filters.AbstractFilterLogicBaseNode |
---|
addPropertyChangeListener, dispose, firePropertyChange, firePropertyChange, getChildLogicNodeAt, getFilterDescription, getFilterLabel, getIndex, getParentLogicNode, removePropertyChangeListener, setFilterDescription, setFilterLabel, setUserObject |
Methods inherited from interface com.sas.dataselectors.filters.FilterLogicEditableTestNodeInterface |
---|
setFilterDescription, setFilterLabel |
Methods inherited from interface com.sas.dataselectors.filters.FilterLogicBaseNodeInterface |
---|
dispose, getChildLogicNodeAt, getFilterDescription, getFilterLabel, getParentLogicNode, getUserObject |
Field Detail |
---|
protected transient FilterItemInterface item
protected transient java.util.List qualifiers
protected transient FilterConditionInterface condition
protected transient java.util.List values
Constructor Detail |
---|
public DefaultFilterLogicTestNode()
public DefaultFilterLogicTestNode(java.lang.Object userObject)
public DefaultFilterLogicTestNode(FilterItemInterface item, java.util.List qualifiers, FilterConditionInterface condition, java.util.List values)
item
- the filter item for this nodequalfiers
- an optional list of qualifierscondition
- the filter condition for this nodevalues
- the list of test valuespublic DefaultFilterLogicTestNode(FilterLogicTestNodeInterface duplicate)
duplicate
- the test node to copyMethod Detail |
---|
public java.lang.Object clone()
AbstractFilterLogicBaseNode
clone
in class AbstractFilterLogicBaseNode
public java.lang.String toString()
toString
in class javax.swing.tree.DefaultMutableTreeNode
public FilterItemInterface getFilterItem()
getFilterItem
in interface FilterLogicTestNodeInterface
public java.util.List getFilterItemQualifiers()
getFilterItemQualifiers
in interface FilterLogicTestNodeInterface
public FilterConditionInterface getCondition()
getCondition
in interface FilterLogicTestNodeInterface
public java.util.List getTestValuesList()
getTestValuesList
in interface FilterLogicTestNodeInterface
public void setFilterItem(FilterItemInterface item)
setFilterItem
in interface FilterLogicEditableTestNodeInterface
item
- the new filter item for this nodepublic void setFilterItemQualifiers(java.util.List qualifiers)
null
may be used to remove any qualifiers.
setFilterItemQualifiers
in interface FilterLogicEditableTestNodeInterface
qualifiers
- the list of qualifiers to apply or null if none are to be appliedpublic void setCondition(FilterConditionInterface condition)
setCondition
in interface FilterLogicEditableTestNodeInterface
condition
- the filter conditionpublic void setTestValuesList(java.util.List values)
setTestValuesList
in interface FilterLogicEditableTestNodeInterface
values
- the new list of test valuespublic int getMaxChildren()
getMaxChildren
in interface FilterLogicBaseNodeInterface
getMaxChildren
in class AbstractFilterLogicBaseNode
public boolean getAllowsChildren()
getAllowsChildren
in interface javax.swing.tree.TreeNode
getAllowsChildren
in class javax.swing.tree.DefaultMutableTreeNode
public boolean isLeaf()
isLeaf
in interface javax.swing.tree.TreeNode
isLeaf
in class javax.swing.tree.DefaultMutableTreeNode
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object to compare to this object
Object.equals(Object)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |