|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.wave.api.BlipContent
com.google.wave.api.Element
com.google.wave.api.Line
public class Line
Represents a line within a Wave.
| Field Summary | |
|---|---|
static java.lang.String |
ALIGNMENT
|
static java.lang.String |
DIRECTION
|
static java.lang.String |
INDENT
|
static java.lang.String |
LINE_TYPE
|
| Constructor Summary | |
|---|---|
Line()
Constructs an unstyled line. |
|
Line(java.util.Map<java.lang.String,java.lang.String> properties)
Constructs a line with a given set of properties. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAlignment()
The alignment of the text in the line. |
java.lang.String |
getDirection()
The display direction of the line l = left to right, r = right to left |
java.lang.String |
getIndent()
The indentation level (0,1,2,...). |
java.lang.String |
getLineType()
The type of the line. |
static Restriction |
restricByLineType(java.lang.String lineType)
Creates an instance of Restriction that can be used to search for
line with the given line type. |
static Restriction |
restrictByAlignment(java.lang.String alignment)
Creates an instance of Restriction that can be used to search for
line with the given alignment. |
static Restriction |
restrictByDirection(java.lang.String direction)
Creates an instance of Restriction that can be used to search for
line with the given direction. |
static Restriction |
restrictByIndent(java.lang.String indent)
Creates an instance of Restriction that can be used to search for
line with the given indentation. |
void |
setAlignment(java.lang.String attribute)
Set the alignment for the line. |
void |
setDirection(java.lang.String value)
Set the direction for the line. |
void |
setIndent(java.lang.String value)
Set the indent for the line. |
void |
setLineType(java.lang.String lineType)
Set the type of the line. |
| Methods inherited from class com.google.wave.api.Element |
|---|
getProperties, getProperty, getProperty, getText, getType, isAttachment, isFormElement, isGadget, isImage, isInlineBlip, setProperty, toString |
| Methods inherited from class com.google.wave.api.BlipContent |
|---|
asElement, asPlaintext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ALIGNMENT
public static final java.lang.String DIRECTION
public static final java.lang.String INDENT
public static final java.lang.String LINE_TYPE
| Constructor Detail |
|---|
public Line()
public Line(java.util.Map<java.lang.String,java.lang.String> properties)
properties - the properties of the line.| Method Detail |
|---|
public java.lang.String getLineType()
public void setLineType(java.lang.String lineType)
public java.lang.String getIndent()
public void setIndent(java.lang.String value)
public java.lang.String getAlignment()
public void setAlignment(java.lang.String attribute)
public java.lang.String getDirection()
public void setDirection(java.lang.String value)
public static Restriction restrictByAlignment(java.lang.String alignment)
Restriction that can be used to search for
line with the given alignment.
alignment - the alignment to filter.
Restriction.public static Restriction restrictByDirection(java.lang.String direction)
Restriction that can be used to search for
line with the given direction.
direction - the direction to filter.
Restriction.public static Restriction restrictByIndent(java.lang.String indent)
Restriction that can be used to search for
line with the given indentation.
indent - the indentation to filter.
Restriction.public static Restriction restricByLineType(java.lang.String lineType)
Restriction that can be used to search for
line with the given line type.
lineType - the line type to filter.
Restriction.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||