|
|||||||||
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 |