|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.asset.AbstractAssembly
inetsoft.uql.asset.AbstractWSAssembly
inetsoft.uql.asset.DefaultVariableAssembly
public class DefaultVariableAssembly
Default variable assembly.
| Field Summary |
|---|
| Fields inherited from class inetsoft.uql.asset.AbstractWSAssembly |
|---|
info, ws |
| Fields inherited from interface inetsoft.uql.asset.AttachedAssembly |
|---|
COLUMN_ATTACHED, DATA_TYPE_ATTACHED, NONE_ATTACHED, SOURCE_ATTACHED |
| Fields inherited from interface inetsoft.uql.asset.Assembly |
|---|
CUBE_VS, DETAIL, EMBEDDED, FIELD, SELECTION, TABLE_VS |
| Constructor Summary | |
|---|---|
DefaultVariableAssembly()
Constructor. |
|
DefaultVariableAssembly(Worksheet ws,
String name)
Constructor. |
|
| Method Summary | |
|---|---|
void |
checkValidity()
Check if the assembly is valid. |
Object |
clone()
Clone the object. |
UserVariable[] |
getAllVariables()
Get all variables in the condition value list. |
int |
getAssemblyType()
Get the type. |
DataRef |
getAttachedAttribute()
Get the attached attribute. |
String |
getAttachedDataType()
Get the attached data type. |
SourceInfo |
getAttachedSource()
Get the attached source. |
int |
getAttachedType()
Get the attached type. |
void |
getDependeds(Set set)
Get the assemblies depended on. |
Dimension |
getMinimumSize()
Get the minimum size. |
AssetVariable |
getVariable()
Get the asset variable. |
void |
isAttachedValid()
Check if the attached assembly is valid. |
protected void |
parseContents(Element elem)
Parse contents. |
void |
renameDepended(String oname,
String nname)
Rename the assemblies depended on. |
void |
replaceVariables(VariableTable vars)
Replace all embeded user variables. |
void |
setAttachedAttribute(DataRef ref)
Set the attached attribute. |
void |
setAttachedDataType(String dtype)
Set the attached data type. |
void |
setAttachedSource(SourceInfo info)
Set the attached source. |
void |
setAttachedType(int type)
Set the attached type. |
void |
setName(String name)
Set the name. |
void |
setName(String name,
boolean both)
Set the name. |
void |
setVariable(AssetVariable var)
Set the asset variable. |
boolean |
update()
Update the assembly. |
protected void |
writeContents(PrintWriter writer)
Write contents. |
| Methods inherited from class inetsoft.uql.asset.AbstractWSAssembly |
|---|
checkDependency, copyAssembly, createInfo, createWSAssembly, getClassName, getDescription, getInfo, getName, getPosition, getSheet, getSize, getWorksheet, getWSAssemblyInfo, isComposed, isCondition, isDateCondition, isIconized, isNamedGroup, isOuter, isTable, isVariable, reset, setDescription, setIconized, setOuter, setPosition, setSize, setVisible, setWorksheet |
| Methods inherited from class inetsoft.uql.asset.AbstractAssembly |
|---|
addr, equals, getAbsoluteName, getAssemblyEntry, getBounds, hashCode, isEditable, isVisible, parseAttributes, parseXML, setBounds, toString, writeAttributes, writeXML |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface inetsoft.uql.asset.WSAssembly |
|---|
copyAssembly, getDescription, getWorksheet, getWSAssemblyInfo, isComposed, isCondition, isDateCondition, isIconized, isNamedGroup, isOuter, isTable, isVariable, reset, setDescription, setIconized, setOuter, setVisible, setWorksheet |
| Methods inherited from interface inetsoft.uql.asset.Assembly |
|---|
addr, checkDependency, getAbsoluteName, getAssemblyEntry, getBounds, getInfo, getName, getPosition, getSheet, getSize, isEditable, isVisible, setBounds, setPosition, setSize |
| Methods inherited from interface inetsoft.util.XMLSerializable |
|---|
parseXML, writeXML |
| Constructor Detail |
|---|
public DefaultVariableAssembly()
public DefaultVariableAssembly(Worksheet ws,
String name)
| Method Detail |
|---|
public void setName(String name)
setName in class AbstractWSAssemblyname - the specified name.both - true to rename both assembly name and variable name,
false to rename assembly name only.
public void setName(String name,
boolean both)
setName in interface VariableAssemblyname - the specified name.both - true to rename both assembly name and variable name,
false to rename assembly name only.public int getAssemblyType()
getAssemblyType in interface Assemblypublic Dimension getMinimumSize()
getMinimumSize in interface Assembly
public void checkValidity()
throws Exception
checkValidity in interface WSAssemblycheckValidity in class AbstractWSAssemblyExceptionpublic AssetVariable getVariable()
getVariable in interface VariableAssemblypublic void setVariable(AssetVariable var)
setVariable in interface VariableAssemblyvar - the specified asset variable.public boolean update()
update in interface WSAssemblyupdate in class AbstractWSAssemblypublic void replaceVariables(VariableTable vars)
replaceVariables in interface WSAssemblyvars - the specified variable table.public UserVariable[] getAllVariables()
getAllVariables in interface inetsoft.uql.asset.internal.VariableProviderpublic int getAttachedType()
getAttachedType in interface AttachedAssemblypublic void setAttachedType(int type)
setAttachedType in interface AttachedAssemblytype - the specified type.public SourceInfo getAttachedSource()
getAttachedSource in interface AttachedAssemblypublic void setAttachedSource(SourceInfo info)
setAttachedSource in interface AttachedAssemblythe - specified source.public DataRef getAttachedAttribute()
getAttachedAttribute in interface AttachedAssemblypublic void setAttachedAttribute(DataRef ref)
setAttachedAttribute in interface AttachedAssemblyref - the specified attribute.public String getAttachedDataType()
getAttachedDataType in interface AttachedAssemblypublic void setAttachedDataType(String dtype)
setAttachedDataType in interface AttachedAssembly
public void isAttachedValid()
throws Exception
isAttachedValid in interface AttachedAssemblyExceptionpublic void getDependeds(Set set)
getDependeds in interface Assemblyset - the set stores the assemblies depended on.
public void renameDepended(String oname,
String nname)
renameDepended in interface Assemblyoname - the specified old name.nname - the specified new name.protected void writeContents(PrintWriter writer)
writeContents in class AbstractAssemblywriter - the specified writer.
protected void parseContents(Element elem)
throws Exception
parseContents in class AbstractAssemblyelem - the specified xml element.
Exceptionpublic Object clone()
clone in interface Assemblyclone in interface AssetObjectclone in interface AttachedAssemblyclone in class AbstractWSAssembly
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||