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
Syntax
public static final int CLEAR_ALL;
Description
Inserts vertical space so that the next text displayed is past all floating images.
Syntax
public static final int CLEAR_LEFT;
Description
Inserts vertical space so that the next text displayed is past left-aligned floating images.
Syntax
public static final int CLEAR_NONE;
Description
Inserts a standard line break (default).
Syntax
public static final int CLEAR_RIGHT;
Description
Inserts vertical space so that the next text displayed is past right-aligned floating images.
Constructors
public DhBreak();
Description
Constructs a DhBreak object.
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
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
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