    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

##

BIG
MEDIUM
SMALL
VERYBIG

##

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

##

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

##

SMALL

      public final static int SMALL

MEDIUM

      public final static int MEDIUM

BIG

      public final static int BIG

VERYBIG

      public final static int VERYBIG

##

Category

      public Category()

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

##

toString

      public String toString()

  Returns a description of the Category. Note that the description is not according the syntax of application/pics-service

putRating

      public void putRating(SingleLabel SL)

  Put Rating(s) on SL according to the current state of user interface widgets.

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

setRange

      public void setRange(Filter fil)

panelSize

      public int panelSize()

  Return the estimation of the size of the panel (user interface area) required to contain the widgets.

getIcon

      public String getIcon()

getDescription

      public String getDescription()

getTransmitas

      public String getTransmitas()

getName

      public String getName()

getMax

      public double getMax()

getMin

      public double getMin()

isMultivalue

      public boolean isMultivalue()

isUnordered

      public boolean isUnordered()

isLabelonly

      public boolean isLabelonly()

isInteger

      public boolean isInteger()

getEnumlist

      public Vector getEnumlist()

    All Packages  Class Hierarchy  This Package  Previous  Next  Index