The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search
Interface grendel.search.ISearchAttribute
All Packages  This Package  Class Hierarchy  Class Search  Index

Interface grendel.search.ISearchAttribute


public interface  ISearchAttribute
{
          // Methods 8
     public abstract SearchTerm getAttributeTerm(Object, Object);
     public abstract Object getID();
     public abstract String getName();
     public abstract Object getOperator(int);
     public abstract int getOperatorCount();
     public abstract Object getValue(Component);
     public abstract Component getValueComponent();
     public abstract String toString();
}



Methods


getName

   public abstract String getName() 

Returns a localized, user visible attribute string



getID

   public abstract Object getID() 

Returns a non-localized attribute identifier



getOperatorCount

   public abstract int getOperatorCount() 

Returns the number of available operators for this attribute



getOperator

   public abstract Object getOperator(int aIndex) 

Returns the localized, user visible operator string



getValueComponent

   public abstract Component getValueComponent() 

Returns the component to use for selecting a value



getValue

   public abstract Object getValue(Component aComponent) 

Given a component, return the value represented by it. The component is one returned by getValueComponent from the same object.



getAttributeTerm

   public abstract SearchTerm getAttributeTerm(Object aOperatorID, 
                                               Object aValue) 

Returns an attribute search term.



toString

   public abstract String toString() 

Same as getName();



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4
Copyright © 1998-2000 The Mozilla Organization.
Last modified December 25, 1998.