Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.4.0)

E12063-05

oracle.dss.util
Class CustomStyle

java.lang.Object
  extended by oracle.dss.util.CustomStyle
All Implemented Interfaces:
oracle.dss.util.persistence.CatLinkNode, oracle.dss.util.persistence.CatNode, oracle.dss.util.persistence.contract.AggregableContract, oracle.dss.util.persistence.contract.CustomXMLContract, oracle.dss.util.persistence.contract.OptionalContract, oracle.dss.util.persistence.Persistable, oracle.dss.util.persistence.SimplePersistable, oracle.dss.util.persistence.StringXMLizable

public class CustomStyle
extends java.lang.Object
implements oracle.dss.util.persistence.Persistable


Constructor Summary
CustomStyle()
           
CustomStyle(java.lang.Class object, java.lang.String stylePath)
           
CustomStyle(java.io.InputStream stream)
           
CustomStyle(java.lang.String xml)
           
 
Method Summary
 CustomStyle getBaseStyle()
          Retrieves the style upon which this style is based.
 oracle.dss.util.persistence.PersistableAttributes getPersistableAttributes(oracle.dss.util.persistence.PersistableAttributes attrs)
           
 oracle.dss.util.persistence.AggregateInfo[] getPersistableComponents()
           
 java.lang.String getPersistableObjectType()
          Retrieves the Persistable object type for this CustomStyle.
 java.lang.String getTitle()
          Retrieves the title of this CustomStyle.
 java.lang.String getXMLAsString()
           
 void initialize(java.util.Hashtable env)
           
 void setBaseStyle(CustomStyle baseStyle)
          Specifies the CustomStyle that this CustomStyle is based on.
 void setPersistableAttributes(oracle.dss.util.persistence.PersistableAttributes attrs)
           
 void setPersistableComponents(oracle.dss.util.persistence.AggregateInfo[] persistables)
           
 void setPersistableObjectType(java.lang.String persistableObjectType)
          Specifies the Persistable object type for this CustomStyle.
 void setTitle(java.lang.String title)
          Specifies the title for this CustomStyle.
 boolean setXMLAsString(java.lang.String xml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomStyle

public CustomStyle()

CustomStyle

public CustomStyle(java.lang.String xml)

CustomStyle

public CustomStyle(java.lang.Class object,
                   java.lang.String stylePath)
            throws java.io.IOException
Throws:
java.io.IOException

CustomStyle

public CustomStyle(java.io.InputStream stream)
            throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getBaseStyle

public CustomStyle getBaseStyle()
Retrieves the style upon which this style is based. Style property settings in this CustomStyle are added to the CustomStyle that this method returns. If this CustomStyle sets the same properties as the base style, then the settings in this CustomStyle take precedence.

Returns:
The CustomStyle upon which this CustomStyle is based.

setBaseStyle

public void setBaseStyle(CustomStyle baseStyle)
Specifies the CustomStyle that this CustomStyle is based on. Style property settings in this CustomStyle are added to the CustomStyle that you pass in this method. If this CustomStyle sets the same properties as the base style, then the settings in this CustomStyle take precedence.

Parameters:
baseStyle - The CustomStyle upon which to base this CustomStyle.

getTitle

public java.lang.String getTitle()
Retrieves the title of this CustomStyle.

Returns:
The title of this CustomStyle.

setTitle

public void setTitle(java.lang.String title)
Specifies the title for this CustomStyle. The title is the name that appears in the BI Beans Catalog.

Parameters:
title - The title for this CustomStyle.

getPersistableObjectType

public java.lang.String getPersistableObjectType()
Retrieves the Persistable object type for this CustomStyle.

Returns:
A constant that identifies the object type for this CustomStyle in the BI Beans Catalog.
See Also:
PersistableConstants.Attributes.OBJECT_TYPE, PersistableConstants.GRAPHSTYLE

setPersistableObjectType

public void setPersistableObjectType(java.lang.String persistableObjectType)
Specifies the Persistable object type for this CustomStyle.

Parameters:
persistableObjectType - A constant that identifies the object type for this CustomStyle in the BI Beans Catalog.
See Also:
PersistableConstants.Attributes.OBJECT_TYPE, PersistableConstants.GRAPHSTYLE

initialize

public void initialize(java.util.Hashtable env)
Specified by:
initialize in interface oracle.dss.util.persistence.SimplePersistable

getPersistableComponents

public oracle.dss.util.persistence.AggregateInfo[] getPersistableComponents()
Specified by:
getPersistableComponents in interface oracle.dss.util.persistence.contract.AggregableContract

setPersistableComponents

public void setPersistableComponents(oracle.dss.util.persistence.AggregateInfo[] persistables)
Specified by:
setPersistableComponents in interface oracle.dss.util.persistence.contract.AggregableContract

getPersistableAttributes

public oracle.dss.util.persistence.PersistableAttributes getPersistableAttributes(oracle.dss.util.persistence.PersistableAttributes attrs)
Specified by:
getPersistableAttributes in interface oracle.dss.util.persistence.SimplePersistable

setPersistableAttributes

public void setPersistableAttributes(oracle.dss.util.persistence.PersistableAttributes attrs)
Specified by:
setPersistableAttributes in interface oracle.dss.util.persistence.SimplePersistable

getXMLAsString

public java.lang.String getXMLAsString()
Specified by:
getXMLAsString in interface oracle.dss.util.persistence.StringXMLizable

setXMLAsString

public boolean setXMLAsString(java.lang.String xml)
Specified by:
setXMLAsString in interface oracle.dss.util.persistence.StringXMLizable

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.4.0)

E12063-05

Copyright © 1997, 2011, Oracle. All rights reserved.