|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.doc.documentproperty
public class documentproperty
summary description for documentproperty.
constructor summary | |
---|---|
documentproperty()
default constructor. |
|
documentproperty(java.lang.string strname,
java.lang.object value)
initializes new instance of the class. |
|
documentproperty(java.lang.string strname,
java.lang.object value,
propertytype type)
initializes new instance of the class. |
method summary | |
---|---|
documentproperty |
deepclone()
creates a new object that is a copy of the current instance. |
clipboarddata |
getclipboarddata()
gets clipboard data value. |
java.lang.string |
getname()
returns property name. |
java.lang.object |
getvalue()
gets the property value. |
propertyvaluetype |
getvaluetype()
gets the type of the value. |
void |
setclipboarddata(clipboarddata value)
sets clipboard data value. |
void |
setvalue(java.lang.object value)
sets the property value. |
boolean |
tobool()
to the bool. |
byte[] |
tobytearray()
convert the object as byte array. |
java.util.date |
todatetime()
convert the object in datetime. |
double |
todouble()
convert the object in double. |
float |
tofloat()
convert the object in float value. |
int |
toint()
convert the object in int value. |
java.lang.string |
tostring()
returns a string that represents the current object. |
constructor detail |
---|
public documentproperty()
public documentproperty(java.lang.string strname, java.lang.object value)
strname
- property name.value
- property value.<public documentproperty(java.lang.string strname, java.lang.object value, propertytype type)
strname
- property name.value
- property value.type
- property typemethod detail |
---|
public java.lang.string getname()
public java.lang.object getvalue()
public void setvalue(java.lang.object value)
value
- the property valuepublic propertyvaluetype getvaluetype()
public clipboarddata getclipboarddata()
public void setclipboarddata(clipboarddata value)
value
- the clipboard data value.public boolean tobool()
public java.util.date todatetime()
public float tofloat()
public double todouble()
public int toint()
public java.lang.string tostring()
tostring
in class java.lang.object
public byte[] tobytearray()
public documentproperty deepclone()
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |