You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



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