wt.clients.beans.query
Class WTAttribute
java.lang.Object
wt.clients.beans.query.WTAttribute
- All Implemented Interfaces:
- ActionListener, EventListener, ItemListener, KeyListener, WTQueryListener
- public class WTAttribute
- extends Object
- implements ItemListener, ActionListener, WTQueryListener, KeyListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionID
private static final String versionID
- See Also:
- Constant Field Values
BrowseCMD
private static final String BrowseCMD
- See Also:
- Constant Field Values
BROWSE_CABINET
private static final String BROWSE_CABINET
- See Also:
- Constant Field Values
BROWSE_PRINCIPAL
private static final String BROWSE_PRINCIPAL
- See Also:
- Constant Field Values
BROWSE_CONTAINER
private static final String BROWSE_CONTAINER
- See Also:
- Constant Field Values
PROCESS_BROWSE_CABINET
protected static final int PROCESS_BROWSE_CABINET
- See Also:
- Constant Field Values
PROCESS_BROWSE_CONTAINER
protected static final int PROCESS_BROWSE_CONTAINER
- See Also:
- Constant Field Values
PROCESS_BROWSE_PRINCIPAL
protected static final int PROCESS_BROWSE_PRINCIPAL
- See Also:
- Constant Field Values
EMPTY_STRING
private static final String EMPTY_STRING
- See Also:
- Constant Field Values
EQUAL
public static final String EQUAL
- See Also:
- Constant Field Values
LESS
public static final String LESS
- See Also:
- Constant Field Values
GREATER
public static final String GREATER
- See Also:
- Constant Field Values
BETWEEN
public static final String BETWEEN
- See Also:
- Constant Field Values
enableGroups
private static boolean enableGroups
relationalConstraints
private static String[] relationalConstraints
timeConstraints
private static String[] timeConstraints
myPD
private PropertyDescriptor myPD
myIndex
private int myIndex
myValueSet
private Vector myValueSet
theThreadGroup
private ThreadGroup theThreadGroup
myPanel
private Panel myPanel
myLabel
private Label myLabel
myText
private TextField myText
myCombo
private Choice myCombo
myRange
private Choice myRange
myFrom
private TextField myFrom
myDash
private Label myDash
myThru
private TextField myThru
myNot
private Checkbox myNot
myRB
private Button myRB
myRQ
private WTChooser myRQ
myObject
private WTObject myObject
myBG
private Color myBG
myFG
private Color myFG
myCanvasBG
private Color myCanvasBG
myCanvasFG
private Color myCanvasFG
useProjects
private boolean useProjects
WTAttribute
public WTAttribute(PropertyDescriptor aPD,
boolean aEditable)
getRelationalConstraints
private String[] getRelationalConstraints()
getTimeConstraints
private String[] getTimeConstraints()
addButton
private Button addButton(String a_label,
String a_name)
getLabelComp
public Label getLabelComp()
getPanelComp
public Panel getPanelComp()
getRangeComp
public Choice getRangeComp()
getFromComp
public TextField getFromComp()
getDashComp
public Label getDashComp()
getThruComp
public TextField getThruComp()
getNotComp
public Checkbox getNotComp()
getRefBComp
public Button getRefBComp()
getFieldComp
public Component getFieldComp()
getForeground
public Color getForeground()
setForeground
public void setForeground(Color aColor)
getBackground
public Color getBackground()
setBackground
public void setBackground(Color aColor)
getCanvasForeground
public Color getCanvasForeground()
setCanvasForeground
public void setCanvasForeground(Color aColor)
getCanvasBackground
public Color getCanvasBackground()
setCanvasBackground
public void setCanvasBackground(Color aColor)
refresh
public void refresh()
getAttributeName
public String getAttributeName()
getAttributeQueryName
public String getAttributeQueryName()
getName
public String getName()
getType
public Class getType()
isEnumType
public boolean isEnumType()
isEnumVSType
public boolean isEnumVSType()
isRangeType
public boolean isRangeType()
isReferenceType
public boolean isReferenceType()
getSize
public int getSize()
getValueSet
public Vector getValueSet()
setEditable
public void setEditable(boolean aValue)
isEditable
public boolean isEditable()
getValue
public String getValue()
setValue
public void setValue(String aValue)
getEnumValue
public EnumeratedType getEnumValue()
getSelectedDetail
public Object getSelectedDetail()
clear
public void clear()
getRange
public String getRange()
setRange
public void setRange(String aValue)
getFrom
public String getFrom()
setFrom
public void setFrom(String aValue)
getThru
public String getThru()
setThru
public void setThru(String aValue)
getNot
public boolean getNot()
setNot
public void setNot(boolean aValue)
equals
public boolean equals(String aValue)
isNull
public boolean isNull()
isFull
public boolean isFull()
isLike
public static boolean isLike(String s)
likeClaus
public static String likeClaus(String value)
likeClaus
public String likeClaus()
itemStateChanged
public void itemStateChanged(ItemEvent e)
- Specified by:
itemStateChanged
in interface ItemListener
processBrowseCabinet
private void processBrowseCabinet()
processBrowsePrincipal
private void processBrowsePrincipal()
processBrowseContainer
private void processBrowseContainer()
processBrowsePrincipal
private void processBrowsePrincipal(boolean enableGroups)
keyPressed
public void keyPressed(KeyEvent e)
- Specified by:
keyPressed
in interface KeyListener
keyTyped
public void keyTyped(KeyEvent e)
- Specified by:
keyTyped
in interface KeyListener
keyReleased
public void keyReleased(KeyEvent e)
- Specified by:
keyReleased
in interface KeyListener
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interface ActionListener
getTopLevelParent
private Frame getTopLevelParent(Component component)
queryEvent
public void queryEvent(WTQueryEvent e)
- Description copied from interface:
WTQueryListener
- Invoked when a button is clicked, a status message is ready or the
selection has been changed in the results viewing area.
Supported API: true
- Specified by:
queryEvent
in interface WTQueryListener
setUseProjects
public void setUseProjects(boolean projects)
- This method is to set projects on
Supported API: false
getUseProjects
public boolean getUseProjects()
- This method is to get whether to show projects or not
Supported API: false