Style Intelligence v12.0

inetsoft.uql.asset
Class AbstractAssembly

java.lang.Object
  extended by inetsoft.uql.asset.AbstractAssembly
All Implemented Interfaces:
Assembly, AssetObject, inetsoft.util.XMLSerializable, Serializable, Cloneable
Direct Known Subclasses:
AbstractWSAssembly

public abstract class AbstractAssembly
extends Object
implements Assembly

Abstract assembly, implements most methods defined in Assembly.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface inetsoft.uql.asset.Assembly
CUBE_VS, DETAIL, EMBEDDED, FIELD, SELECTION, TABLE_VS
 
Constructor Summary
AbstractAssembly()
          Constructor.
 
Method Summary
 int addr()
          Get the original hash code.
 Object clone()
          Clone the object.
 boolean equals(Object obj)
          Check if equals another object.
 String getAbsoluteName()
          Get the absolute name of this assembly.
 AssemblyEntry getAssemblyEntry()
          Get the assembly entry.
 Rectangle getBounds()
          Get the bounds.
protected  String getClassName(boolean compact)
          Get the class name.
 int hashCode()
          Get the hash code.
 boolean isEditable()
          Check if is editable.
 boolean isVisible()
          Check if is visible.
protected  void parseAttributes(Element elem)
          Parse contents.
protected  void parseContents(Element elem)
          Parse contents.
 void parseXML(Element elem)
          Method to parse an xml segment.
 void setBounds(Rectangle bounds)
          Set the bounds.
 String toString()
          Get the string representation.
protected  void writeAttributes(PrintWriter writer)
          Write attributes.
protected  void writeContents(PrintWriter writer)
          Write contents.
 void writeXML(PrintWriter writer)
          Write the xml segment to print writer.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface inetsoft.uql.asset.Assembly
checkDependency, getAssemblyType, getDependeds, getInfo, getMinimumSize, getName, getPosition, getSheet, getSize, renameDepended, setPosition, setSize
 

Constructor Detail

AbstractAssembly

public AbstractAssembly()
Constructor.

Method Detail

getAbsoluteName

public String getAbsoluteName()
Get the absolute name of this assembly.

Specified by:
getAbsoluteName in interface Assembly
Returns:
the absolute name of this assembly.

getAssemblyEntry

public AssemblyEntry getAssemblyEntry()
Get the assembly entry.

Specified by:
getAssemblyEntry in interface Assembly
Returns:
the assembly entry.

getClassName

protected String getClassName(boolean compact)
Get the class name.


writeXML

public final void writeXML(PrintWriter writer)
Write the xml segment to print writer.

Specified by:
writeXML in interface inetsoft.util.XMLSerializable
Parameters:
writer - the destination print writer.

writeAttributes

protected void writeAttributes(PrintWriter writer)
Write attributes.

Parameters:
writer - the specified writer.

parseAttributes

protected void parseAttributes(Element elem)
Parse contents.

Parameters:
elem - the specified xml element.

writeContents

protected void writeContents(PrintWriter writer)
Write contents.

Parameters:
writer - the specified writer.

parseContents

protected void parseContents(Element elem)
                      throws Exception
Parse contents.

Parameters:
elem - the specified xml element.
Throws:
Exception

parseXML

public final void parseXML(Element elem)
                    throws Exception
Method to parse an xml segment.

Specified by:
parseXML in interface inetsoft.util.XMLSerializable
Parameters:
elem - the specified xml element.
Throws:
Exception

setBounds

public void setBounds(Rectangle bounds)
Set the bounds.

Specified by:
setBounds in interface Assembly
Parameters:
bounds - the specified bounds.

getBounds

public Rectangle getBounds()
Get the bounds.

Specified by:
getBounds in interface Assembly
Returns:
the bounds of the assembly.

isEditable

public boolean isEditable()
Check if is editable.

Specified by:
isEditable in interface Assembly
Returns:
true if editable, false otherwise.

isVisible

public boolean isVisible()
Check if is visible.

Specified by:
isVisible in interface Assembly
Returns:
true if visible, false otherwise.

hashCode

public int hashCode()
Get the hash code.

Overrides:
hashCode in class Object
Returns:
the hash code.

addr

public int addr()
Get the original hash code.

Specified by:
addr in interface Assembly
Returns:
the original hash code.

equals

public boolean equals(Object obj)
Check if equals another object.

Overrides:
equals in class Object
Parameters:
obj - the specified object.
Returns:
true if equals, false otherwise.

toString

public String toString()
Get the string representation.

Overrides:
toString in class Object
Returns:
the string representation.

clone

public Object clone()
Clone the object.

Specified by:
clone in interface Assembly
Specified by:
clone in interface AssetObject
Overrides:
clone in class Object
Returns:
the cloned object.

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.