|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stimulsoft.report.dictionary.StiResource
public class StiResource
Copyright Stimulsoft
| Nested Class Summary | |
|---|---|
static class |
StiResource.Order
|
| Field Summary | |
|---|---|
byte[] |
content
|
boolean |
inherited
|
java.lang.String |
key
|
StiResourceType |
type
|
| Constructor Summary | |
|---|---|
StiResource()
Creates an object of the type StiResource. |
|
StiResource(java.lang.String name,
StiResourceType type,
byte[] content)
Creates an object of the type StiResource. |
|
StiResource(java.lang.String name,
java.lang.String alias,
boolean inherited,
StiResourceType type,
byte[] content)
|
|
StiResource(java.lang.String name,
java.lang.String alias,
boolean inherited,
StiResourceType type,
byte[] content,
boolean availableInTheViewer)
Creates an object of the type StiResource. |
|
StiResource(java.lang.String name,
java.lang.String alias,
StiResourceType type,
byte[] content)
Creates an object of the type StiResource. |
|
| Method Summary | |
|---|---|
void |
deserialize(java.lang.String strObject)
Десериализация объекта из строки. |
java.lang.String |
getAlias()
An alias of the file. |
StiComponentId |
getComponentId()
|
byte[] |
getContent()
|
boolean |
getInherited()
|
java.lang.String |
getKey()
The key of the dictionary object. |
java.lang.String |
getName()
A name of the file. |
java.lang.String |
getPropName()
|
StiImage |
getResourceAsImage()
|
StiResourceType |
getType()
The key of the dictionary object. |
boolean |
isAvailableInTheViewer()
|
void |
LoadFromJsonObject(JSONObject jObject)
|
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode)
|
java.lang.String |
serialize()
Сериализация объекта в строку. |
void |
setAlias(java.lang.String alias)
An alias of the file. |
void |
setAvailableInTheViewer(boolean availableInTheViewer)
|
void |
setContent(byte[] content)
|
void |
setInherited(boolean inherited)
|
void |
setKey(java.lang.String key)
The key of the dictionary object. |
void |
setName(java.lang.String value)
A name of the file. |
void |
setType(StiResourceType type)
The key of the dictionary object. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public boolean inherited
public byte[] content
public java.lang.String key
public StiResourceType type
| Constructor Detail |
|---|
public StiResource()
public StiResource(java.lang.String name,
StiResourceType type,
byte[] content)
name - Name of the resource.type - Type of the resource.content - Content of the resource.
public StiResource(java.lang.String name,
java.lang.String alias,
StiResourceType type,
byte[] content)
name - Name of the resource.alias - Alias of the resource.type - Type of the resource.content - Content of the resource.
public StiResource(java.lang.String name,
java.lang.String alias,
boolean inherited,
StiResourceType type,
byte[] content)
public StiResource(java.lang.String name,
java.lang.String alias,
boolean inherited,
StiResourceType type,
byte[] content,
boolean availableInTheViewer)
name - Name of the resource.alias - Alias of the resource.inherited - Value which indicates that this resource inherited in dictionary from the master
report.type - Type of the resource.content - Content of the resource.| Method Detail |
|---|
public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectJSONException
public void LoadFromJsonObject(JSONObject jObject)
throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectJSONExceptionpublic StiComponentId getComponentId()
public java.lang.String getPropName()
public boolean getInherited()
getInherited in interface IStiInheritedpublic void setInherited(boolean inherited)
setInherited in interface IStiInheritedinherited - the inherited to setpublic java.lang.String getName()
getName in interface IStiNamepublic void setName(java.lang.String value)
setName in interface IStiNamename - the name to setpublic java.lang.String getAlias()
public void setAlias(java.lang.String alias)
alias - the alias to setpublic byte[] getContent()
public void setContent(byte[] content)
content - the content to setpublic java.lang.String getKey()
public void setKey(java.lang.String key)
key - the key to setpublic StiResourceType getType()
public boolean isAvailableInTheViewer()
public void setAvailableInTheViewer(boolean availableInTheViewer)
availableInTheViewer - the availableInTheViewer to setpublic void setType(StiResourceType type)
type - the type to setpublic StiImage getResourceAsImage()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String serialize()
IStiSerializableToString
serialize in interface IStiSerializableToStringpublic void deserialize(java.lang.String strObject)
IStiSerializableToString
deserialize in interface IStiSerializableToString
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||