org.w3c.dom.html2

Interface HTMLOListElement

public interface HTMLOListElement extends HTMLElement

Ordered list. See the OL element definition in HTML 4.01.

See also the Document Object Model (DOM) Level 2 HTML Specification.

Method Summary
booleangetCompact()
Reduce spacing between list items.
intgetStart()
Starting sequence number.
StringgetType()
Numbering style.
voidsetCompact(boolean compact)
Reduce spacing between list items.
voidsetStart(int start)
Starting sequence number.
voidsetType(String type)
Numbering style.

Method Detail

getCompact

public boolean getCompact()
Reduce spacing between list items. See the compact attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

getStart

public int getStart()
Starting sequence number. See the start attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

getType

public String getType()
Numbering style. See the type attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

setCompact

public void setCompact(boolean compact)
Reduce spacing between list items. See the compact attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

setStart

public void setStart(int start)
Starting sequence number. See the start attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

setType

public void setType(String type)
Numbering style. See the type attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.