public abstract class AbstractFilterGUI extends java.lang.Object implements QueryGUIElementI, java.awt.event.ActionListener, QueryGUIListenerI
Constructor and Description |
---|
AbstractFilterGUI() |
AbstractFilterGUI(electric.xml.Element el,
BOLoaderI _bol,
QueryBuilder qb) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent a) |
void |
addQueryGUIListener(QueryGUIListenerI l) |
void |
close() |
java.lang.String |
evaluateEmbeddedScript(java.lang.String str) |
java.util.List |
getDependsOn() |
electric.xml.Element |
getElement() |
java.lang.String |
getGroup() |
java.lang.String |
getName()
Gets the name of the filter which is used for a few error messages and in the context of "dependentOn" filters.
|
abstract javax.swing.JComponent |
getQueryGUI()
Gets the
JComponent that represents the GUI part of this filter. |
java.lang.String |
getTitle() |
abstract java.lang.Object |
getUserInput()
Gets the user entered or selected filter value in the native format appropriate for the filter's type.
|
abstract java.lang.String |
getUserInputAsClausePart()
Gets the user entered or selected filter value as a string in a format appropriate for inserting it as a literal
value in an OQL query.
|
java.lang.String |
getVariable()
If given the value entered in/returned by the filter is stored under this name and accessible by this in the query
template.
|
boolean |
handleAttribute(java.lang.String attributeName,
java.lang.String val) |
boolean |
handleElement(electric.xml.Element el) |
void |
handleQueryGUIEvent(QueryGUIEvent ev) |
void |
init() |
boolean |
isGrabFocus() |
void |
removeQueryGUIListener(QueryGUIListenerI l) |
abstract boolean |
requestFocusInWindow() |
abstract void |
reset() |
void |
setDependsOn(java.util.List $10) |
void |
setElement(electric.xml.Element $11) |
void |
setGrabFocus(boolean $9) |
void |
setGroup(java.lang.String $7) |
void |
setName(java.lang.String $6) |
void |
setTitle(java.lang.String $5) |
abstract void |
setValue(java.lang.String s)
Must be overridden to implement a way to set the component value via String.
|
void |
setVariable(java.lang.String $8) |
java.lang.String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFilterClauseProviders
public AbstractFilterGUI()
public AbstractFilterGUI(electric.xml.Element el, BOLoaderI _bol, QueryBuilder qb)
public void init()
public boolean handleAttribute(java.lang.String attributeName, java.lang.String val)
public boolean handleElement(electric.xml.Element el)
public java.lang.String toString()
toString
in class java.lang.Object
public abstract javax.swing.JComponent getQueryGUI()
QueryGUIElementI
JComponent
that represents the GUI part of this filter.getQueryGUI
in interface QueryGUIElementI
public abstract boolean requestFocusInWindow()
requestFocusInWindow
in interface QueryGUIElementI
public abstract java.lang.Object getUserInput()
getUserInput
in interface QueryGUIElementI
public abstract java.lang.String getUserInputAsClausePart()
QueryGUIElementI
getUserInputAsClausePart
in interface QueryGUIElementI
public void close()
close
in interface QueryGUIElementI
public abstract void reset()
reset
in interface QueryGUIElementI
public abstract void setValue(java.lang.String s)
public void actionPerformed(java.awt.event.ActionEvent a)
actionPerformed
in interface java.awt.event.ActionListener
public void addQueryGUIListener(QueryGUIListenerI l)
addQueryGUIListener
in interface QueryGUIElementI
public void removeQueryGUIListener(QueryGUIListenerI l)
removeQueryGUIListener
in interface QueryGUIElementI
public void handleQueryGUIEvent(QueryGUIEvent ev)
handleQueryGUIEvent
in interface QueryGUIListenerI
public java.lang.String evaluateEmbeddedScript(java.lang.String str)
public java.lang.String getTitle()
public void setTitle(java.lang.String $5)
public java.lang.String getName()
QueryGUIElementI
getName
in interface QueryGUIElementI
public void setName(java.lang.String $6)
public java.lang.String getGroup()
getGroup
in interface QueryGUIElementI
public void setGroup(java.lang.String $7)
public java.lang.String getVariable()
QueryGUIElementI
getVariable
in interface QueryGUIElementI
public void setVariable(java.lang.String $8)
public boolean isGrabFocus()
isGrabFocus
in interface QueryGUIElementI
public void setGrabFocus(boolean $9)
public java.util.List getDependsOn()
getDependsOn
in interface QueryGUIElementI
public void setDependsOn(java.util.List $10)
public electric.xml.Element getElement()
public void setElement(electric.xml.Element $11)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.