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

E12063-07

oracle.dss.dataView
Interface Style


public interface Style

Interface to encapsulate access to the style of a view.

See Also:
Graph

Method Summary
 CustomStyle createStyle()
          Retrieves a style from the style property settings in this view.
 void editStyle(CustomStyle style)
          Opens an existing style for editing.
 CustomStyle getStyle()
          Retrieves the current style for this view.
 void setStyle(CustomStyle style)
          Applies a style to this view.
 void updateStyle(CustomStyle style)
          Updates an existing style.
 

Method Detail

getStyle

CustomStyle getStyle()
Retrieves the current style for this view. This method returns the last style that was set on this view. Any style property changes that have been made since the style was set are not included in the style that this method returns.

Returns:
The last style that has been set on this view.
See Also:
createStyle()

setStyle

void setStyle(CustomStyle style)
              throws oracle.dss.util.xml.BIIOException,
                     oracle.dss.util.xml.BISAXException,
                     oracle.dss.util.xml.BIParseException
Applies a style to this view.

Parameters:
style - The style to set on this view.
Throws:
BIIOException - If an error occurs in reading xmlString.
BISAXException - If a general SAX exception occurs in parsing the XML.
BIParseException - If the XML syntax is not correct, or if the XML is not valid according to the DTD that is specified in the XML.
oracle.dss.util.xml.BIIOException
oracle.dss.util.xml.BISAXException
oracle.dss.util.xml.BIParseException

createStyle

CustomStyle createStyle()
Retrieves a style from the style property settings in this view. This method collects all of the values of style properties that have been set since the last time a style has been applied or since the view was instantiated.

Returns:
The style.

editStyle

void editStyle(CustomStyle style)
               throws oracle.dss.util.xml.BIIOException,
                      oracle.dss.util.xml.BISAXException,
                      oracle.dss.util.xml.BIParseException
Opens an existing style for editing. To save the edits that you make, call the updateStyle method.

Parameters:
style - The style to edit.
Throws:
BIIOException - If an error occurs in reading xmlString.
BISAXException - If a general SAX exception occurs in parsing the XML.
BIParseException - If the XML syntax is not correct, or if the XML is not valid according to the DTD that is specified in the XML.
oracle.dss.util.xml.BIIOException
oracle.dss.util.xml.BISAXException
oracle.dss.util.xml.BIParseException
See Also:
updateStyle(oracle.dss.util.CustomStyle)

updateStyle

void updateStyle(CustomStyle style)
Updates an existing style. Call this method to save changes to a style that you passed to the editStyle method.

Parameters:
style - The style to update.
See Also:
editStyle(oracle.dss.util.CustomStyle)

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

E12063-07

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