|
Eclipse Platform Release 3.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.swt.custom.StyleRange
| Field Summary | |
| Color | background
|
| int | fontStyle
|
| Color | foreground
|
| int | length
|
| int | start
|
| Constructor Summary | |
| StyleRange()
| |
| StyleRange(int start,
int length,
Color foreground,
Color background)
Create a new style range. | |
| StyleRange(int start,
int length,
Color foreground,
Color background,
int fontStyle)
Create a new style range. | |
| Method Summary | |
| Object | clone()
Answers a new StyleRange with the same values as this StyleRange. |
| boolean | equals(Object object)
Compare the specified object to this StyleRange and answer if the two are equal. |
| int | hashCode()
Returns an integer hash code for the receiver. |
| boolean | isUnstyled()
Returns whether or not the receiver is unstyled (i.e., does not have any style attributes specified). |
| boolean | similarTo(StyleRange style)
Compares the specified object to this StyleRange and answer if the two are similar. |
| String | toString()
Answers a string description of the receiver. |
| Methods inherited from class java.lang.Object |
| finalize, getClass, notify, notifyAll, wait, wait, wait |
|
Field Detail |
public int start
public int length
public Color foreground
public Color background
public int fontStyle
| Constructor Detail |
public StyleRange()
public StyleRange(int start,
int length,
Color foreground,
Color background)
public StyleRange(int start,
int length,
Color foreground,
Color background,
int fontStyle)
| Method Detail |
public boolean equals(Object object)
public int hashCode()
public boolean isUnstyled()
public boolean similarTo(StyleRange style)
public Object clone()
public String toString()
|
Eclipse Platform Release 3.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.