|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.ps.PsBoolean
public final class PsBoolean
Class representing a boolean PostScript object.
Method Summary | |
---|---|
PsObject |
duplicate()
This is a shallow copy. |
static PsBoolean |
getBoolean(boolean value)
Returns the appropriate instance of this class. |
PsName |
getTypeName()
Needed for the "type" operator. |
boolean |
getValue()
Returns the object value. |
boolean |
isComparable(PsObject object)
Test the comparability of two PSObjects. |
boolean |
isComposite()
The method should be overridden by composite objects. |
boolean |
isExecutable()
Indicates whether this object is executable. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static PsBoolean getBoolean(boolean value)
value
- The boolean value for which an instance of PsBoolean is needed.
public PsObject duplicate()
PsObject
duplicate
in interface PsObject
public boolean isExecutable()
PsObject
isExecutable
in interface PsObject
public boolean isComparable(PsObject object)
PsObject
isComparable
in interface PsObject
object
- The object that should be tested for comparability.
this
is comparable to object
,
false otherwise.public PsName getTypeName()
PsObject
getTypeName
in interface PsObject
public boolean getValue()
public String toString()
toString
in class Object
public boolean isComposite()
PsObject
isComposite
in interface PsObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |