Jiffie: Java InterFace For Internet Explorer
net.sf.jiffie
Class IHTMLDivElement
java.lang.Object
net.sf.jiffie.IDispatch
net.sf.jiffie.BrowserDispatch
net.sf.jiffie.IHTMLDOMNode
net.sf.jiffie.ElementContainer
net.sf.jiffie.IHTMLElement
net.sf.jiffie.IHTMLDivElement
- All Implemented Interfaces:
- java.lang.Cloneable, Releaseable
public class IHTMLDivElement
- extends IHTMLElement
Implementation of the IHTMLDivElement interface.
|
Method Summary |
java.lang.String |
getAlign()
Retrieves the alignment of the object relative to the display or table. |
boolean |
getNoWrap()
Retrieves whether the browser automatically performs wordwrap. |
void |
setAlign(java.lang.String align)
Sets the alignment of the object relative to the display or table. |
void |
setNoWrap(boolean noWrap)
Sets whether the browser automatically performs wordwrap. |
| Methods inherited from class net.sf.jiffie.IHTMLElement |
click, fireEvent, getClassName, getCurrentStyle, getID, getInnerHtml, getInnerText, getName, getOuterHtml, getOuterText, getParentElement, getStyle, getTagName, setID, setInnerHtml, setInnerText, waitWhileIncomplete |
| Methods inherited from class net.sf.jiffie.IHTMLDOMNode |
appendChild, createNodeFromProperty, getAttributes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling |
| 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 |
IHTMLDivElement
public IHTMLDivElement(InternetExplorer parentBrowser,
Dispatch object)
- Constructor
- Parameters:
parentBrowser - parent browserobject - Jacob dispatch interface
getAlign
public java.lang.String getAlign()
- Retrieves the alignment of the object relative to the display or table.
Possible return values are:
- center - Aligns to the center.
- justify - Aligns to the left and right edge.
- left - Default. Aligns to the left edge.
- right - Aligns to the right edge.
- Returns:
- String alignment of the object.
setAlign
public void setAlign(java.lang.String align)
- Sets the alignment of the object relative to the display or table.
Possible values for align parameter are:
- center - Aligns to the center.
- justify - Aligns to the left and right edge.
- left - Default. Aligns to the left edge.
- right - Aligns to the right edge.
- Parameters:
align - String alignment
getNoWrap
public boolean getNoWrap()
- Retrieves whether the browser automatically performs wordwrap.
- Returns:
- boolean false if the Browser automatically wraps the text
within this element or true if it does not.
setNoWrap
public void setNoWrap(boolean noWrap)
- Sets whether the browser automatically performs wordwrap.
The noWrap parameter should be false if the Browser is to
automatically wrap the text within this element or true if
it should not.
- Parameters:
noWrap - false to wrap text or true to not.
Copyright © 2004-2009 Packwood Software. All Rights Reserved.