Class W3C.PICS.Category
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class W3C.PICS.Category

W3C.PICS.Category

public class Category
Categories are the builiding blocks of Service. Category recursively parses the necessary information from portion of application/pics-service. Category has methods to create user interface for entering label and filter, and a SingleLabel object as well.
Author:
Ching Law
See Also:
Service, Enum

Variable Index

 o BIG
 o MEDIUM
 o SMALL
 o VERYBIG

Constructor Index

 o Category()
 o Category(PICSTokenizer, Category)
Constructs a Category from a PICSTokenizer

Method Index

 o getDescription()
 o getEnumlist()
 o getIcon()
 o getMax()
 o getMin()
 o getName()
 o getTransmitas()
 o isInteger()
 o isLabelonly()
 o isMultivalue()
 o isUnordered()
 o panelSize()
Return the estimation of the size of the panel (user interface area) required to contain the widgets.
 o putRange(Filter)
Put Range(s) on the Filter according to the current state of user interface widgets.
 o putRating(SingleLabel)
Put Rating(s) on SL according to the current state of user interface widgets.
 o setRange(Filter)
 o toString()
Returns a description of the Category.

Variables

 o SMALL
  public final static int SMALL
 o MEDIUM
  public final static int MEDIUM
 o BIG
  public final static int BIG
 o VERYBIG
  public final static int VERYBIG

Constructors

 o Category
  public Category()
 o Category
  public Category(PICSTokenizer PT,
                  Category cat) throws PICSException, IOException
Constructs a Category from a PICSTokenizer
Parameters:
cat - The parent category with attibutes to be inherited

Methods

 o toString
  public String toString()
Returns a description of the Category. Note that the description is not according the syntax of application/pics-service
 o putRating
  public void putRating(SingleLabel SL)
Put Rating(s) on SL according to the current state of user interface widgets.
 o putRange
  public void putRange(Filter FL)
Put Range(s) on the Filter according to the current state of user interface widgets.
See Also:
Range, Filter
 o setRange
  public void setRange(Filter fil)
 o panelSize
  public int panelSize()
Return the estimation of the size of the panel (user interface area) required to contain the widgets.
 o getIcon
  public String getIcon()
 o getDescription
  public String getDescription()
 o getTransmitas
  public String getTransmitas()
 o getName
  public String getName()
 o getMax
  public double getMax()
 o getMin
  public double getMin()
 o isMultivalue
  public boolean isMultivalue()
 o isUnordered
  public boolean isUnordered()
 o isLabelonly
  public boolean isLabelonly()
 o isInteger
  public boolean isInteger()
 o getEnumlist
  public Vector getEnumlist()

All Packages  Class Hierarchy  This Package  Previous  Next  Index