jxl.biff.formula
Class Percent

java.lang.Object
  |
  +--jxl.biff.formula.ParseItem
        |
        +--jxl.biff.formula.Operator
              |
              +--jxl.biff.formula.UnaryOperator
                    |
                    +--jxl.biff.formula.Percent
All Implemented Interfaces:
ParsedThing

class Percent
extends UnaryOperator
implements ParsedThing

A cell reference in a formula


Fields inherited from class jxl.biff.formula.Operator
operands
 
Fields inherited from class jxl.biff.formula.ParseItem
parent
 
Constructor Summary
Percent()
          Constructor
 
Method Summary
(package private)  int getPrecedence()
          Gets the precedence for this operator.
 void getString(java.lang.StringBuffer buf)
          Gets the string representation of this item
 java.lang.String getSymbol()
          Abstract method which gets the binary operator string symbol
(package private)  Token getToken()
          Abstract method which gets the token for this operator
 
Methods inherited from class jxl.biff.formula.UnaryOperator
getBytes, getOperands, read
 
Methods inherited from class jxl.biff.formula.Operator
add, getOperands
 
Methods inherited from class jxl.biff.formula.ParseItem
setParent
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 
Methods inherited from interface jxl.biff.formula.ParsedThing
read
 

Constructor Detail

Percent

public Percent()
Constructor
Method Detail

getSymbol

public java.lang.String getSymbol()
Description copied from class: UnaryOperator
Abstract method which gets the binary operator string symbol
Overrides:
getSymbol in class UnaryOperator
Following copied from class: jxl.biff.formula.UnaryOperator
Returns:
the string symbol for this token

getString

public void getString(java.lang.StringBuffer buf)
Description copied from class: ParseItem
Gets the string representation of this item
Overrides:
getString in class UnaryOperator
Following copied from class: jxl.biff.formula.ParseItem
Parameters:
ws - the workbook settings

getToken

Token getToken()
Abstract method which gets the token for this operator
Overrides:
getToken in class UnaryOperator
Returns:
the string symbol for this token

getPrecedence

int getPrecedence()
Gets the precedence for this operator. Operator precedents run from 1 to 5, one being the highest, 5 being the lowest
Overrides:
getPrecedence in class Operator
Returns:
the operator precedence