HTMLObject::HDMLCard(3)

NAME
HDMLCard - Object used to build a HDMLCard Object Class.

SYNOPSIS
  use HTMLObject::HDMLCard;
  my $obj = HTMLObject::HDMLCard->new;
  if ($obj->didErrorOccur())
  {
    die $obj->errorMessage();
  }

DESCRIPTION
HDMLCard is a HDMLCard class.

Exported FUNCTIONS
  scalar new(void)
    Creates a new instance of the HTMLObject::HDMLCard
    object.

  bool isValid(void)
    Returns 0 or 1 to indicate if the object is valid.  The error will be
    available via errorMessage().

  void setError(errorString)
    sets error and errorString to indicate an error occurred.

  scalar didErrorOccur(void)
    Returns the value of error.

  scalar errorMessage(void)
    Returns the value of errorString.

  scalar setFocus(scalar)
    Returns the old focus and sets the new focus to the specified
    location (content or actions).  If nothing specified just returns
    the old focus.

  void print(scalar)
    Adds the contents of the passed in string to the content string or
    to the actions string if the focus is so located.

  scalar display(void)
    Returns the corresponding HDML card definition that defines the
    contents of this object.

  NOTE:  All data fields are accessible by specifying the object
         and pointing to the data member to be modified on the
         left-hand side of the assignment.
         Ex.  $obj->variable($newValue); or $value = $obj->variable;

AUTHOR
James A. Pattie (mailto:htmlobject@pcxperience.com)

SEE ALSO
perl(1), HTMLObject::WAP(3)