Jiffie: Java InterFace For Internet Explorer

net.sf.jiffie
Class IHTMLStyle

Package class diagram package IHTMLStyle
java.lang.Object
  extended by net.sf.jiffie.IDispatch
      extended by net.sf.jiffie.BrowserDispatch
          extended by net.sf.jiffie.IHTMLStyle
All Implemented Interfaces:
java.lang.Cloneable, Releaseable

public class IHTMLStyle
extends BrowserDispatch

Implementation of the IHTMLStyle interface.


Field Summary
 
Fields inherited from class net.sf.jiffie.IDispatch
IID
 
Constructor Summary
IHTMLStyle(InternetExplorer parentBrowser, Dispatch dispatch)
          Constructor.
 
Method Summary
 java.lang.String getBackgroundColor()
          Retrieves the background color.
 java.lang.String getColor()
          Retrieves the text color.
 java.lang.String getCssText()
          Retrieves the persisted representation of the style rule.
 void setBackgroundColor(java.lang.String backgroundColor)
          Set the background color.
 void setColor(java.lang.String color)
          Set the color.
 void setCssText(java.lang.String cssText)
          Set the css text.
 
Methods inherited from class net.sf.jiffie.BrowserDispatch
getElementProperty, getParentBrowser
 
Methods inherited from class net.sf.jiffie.IDispatch
call, call, call, call, call, clone, finalize, getBooleanProperty, getDispatch, getDispatchProperty, getIntegerProperty, getStringProperty, getVariantProperty, isReleased, newDispatch, queryInterface, release, setBooleanProperty, setIntegerProperty, setStringProperty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IHTMLStyle

public IHTMLStyle(InternetExplorer parentBrowser,
                  Dispatch dispatch)
Constructor.

Parameters:
parentBrowser - parent browser
dispatch - Jacob dispatch interface
Method Detail

getBackgroundColor

public java.lang.String getBackgroundColor()
Retrieves the background color.

Returns:
background color

setBackgroundColor

public void setBackgroundColor(java.lang.String backgroundColor)
Set the background color.

Parameters:
backgroundColor - background color

getColor

public java.lang.String getColor()
Retrieves the text color.

Returns:
text color

setColor

public void setColor(java.lang.String color)
Set the color.

Parameters:
color - foreground color

getCssText

public java.lang.String getCssText()
Retrieves the persisted representation of the style rule.

Returns:
css text

setCssText

public void setCssText(java.lang.String cssText)
Set the css text.

Parameters:
cssText - css text


Copyright © 2004-2009 Packwood Software. All Rights Reserved.