The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Search
Feedback


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 The Mozilla Organization.