DhBreak Class

DhBreak Class

This Package | All Packages

DhElement
  |
  +--DhBreak
public class DhBreak
extends DhElement

Represents an HTML line break (<BR>) element.

Fields
Name Description
CLEAR_ALL Inserts vertical space so that the next text displayed is past all floating images.
CLEAR_LEFT Inserts vertical space so that the next text displayed is past left-aligned floating images.
CLEAR_NONE Inserts a standard line break (default).
CLEAR_RIGHT Inserts vertical space so that the next text displayed is past right-aligned floating images.

Constructors
Name Description
DhBreak() Constructs a DhBreak object.
DhBreak( int clearFlag ) Constructs a DhBreak object.

Methods
Name Description
getClearFlag() Retrieves the current clear flag.
setClearFlag(int clearFlag) Sets the current clear flag.

Fields

DhBreak.CLEAR_ALL

Syntax
public static final int CLEAR_ALL;
Description
Inserts vertical space so that the next text displayed is past all floating images.

DhBreak.CLEAR_LEFT

Syntax
public static final int CLEAR_LEFT;
Description
Inserts vertical space so that the next text displayed is past left-aligned floating images.

DhBreak.CLEAR_NONE

Syntax
public static final int CLEAR_NONE;
Description
Inserts a standard line break (default).

DhBreak.CLEAR_RIGHT

Syntax
public static final int CLEAR_RIGHT;
Description
Inserts vertical space so that the next text displayed is past right-aligned floating images.

Constructors

DhBreak.DhBreak

Syntax 1
public DhBreak();
Description

Constructs a DhBreak object.



Syntax 2
public DhBreak( int clearFlag );
Parameters
clearFlag
The clear type flag.
Description

Constructs a DhBreak object. This is a one-step constructor specifying the clear type.

See Also
CLEAR_NONE, CLEAR_LEFT, CLEAR_RIGHT, CLEAR_ALL

Methods

DhBreak.getClearFlag

Syntax
public int getClearFlag();
Return Value

Returns the current flag type.

Description

Retrieves the current clear flag.

See Also
CLEAR_NONE, CLEAR_LEFT, CLEAR_RIGHT, CLEAR_ALL

DhBreak.setClearFlag

Syntax
public void setClearFlag( int clearFlag );
Parameters
clearFlag
The new flag type.
Description

Sets the current clear flag.

See Also
CLEAR_NONE, CLEAR_LEFT, CLEAR_RIGHT, CLEAR_ALL