|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StyleService
The StyleService
provides access to the Styles currently loaded.
Method Summary | |
---|---|
void |
addListener(StyleServiceListener listener)
Adds a style service listener. |
void |
addStyles(org.geotools.styling.Style... styles)
Add styles to the style service. |
boolean |
addStyles(URL url)
Add styles from a given URL. |
void |
clearStyles()
Clear all styles |
org.eclipse.swt.graphics.RGB |
getBackground()
Get the map background. |
org.geotools.styling.Style |
getDefinedStyle(TypeDefinition type)
Get the defined style for the given type. |
org.geotools.styling.Style |
getNamedStyle(String name)
|
org.geotools.styling.Style |
getSelectionStyle(DataSet type)
Get a style combining all selection styles for the given data set. |
org.geotools.styling.Style |
getStyle()
Get a style combining all registered styles. |
org.geotools.styling.Style |
getStyle(DataSet dataset)
Get a style combining all styles for the given data set. |
org.geotools.styling.Style |
getStyle(TypeDefinition type,
DataSet dataSet)
Get the style for a given type. |
void |
removeListener(StyleServiceListener listener)
Removes a style service listener. |
void |
setBackground(org.eclipse.swt.graphics.RGB color)
Set the map background. |
Method Detail |
---|
org.geotools.styling.Style getStyle(TypeDefinition type, DataSet dataSet)
type
- the type definitiondataSet
- the type data set
Style
for the given type.org.geotools.styling.Style getStyle()
org.geotools.styling.Style getStyle(DataSet dataset)
dataset
- the data set
org.geotools.styling.Style getNamedStyle(String name)
name
- the String that identifies the Style
that should be
returned.
Style
for the given name. Will return a new
Style
object if there is no Style of the given name.boolean addStyles(URL url)
url
- the URL from which to load an SLD document.
void addStyles(org.geotools.styling.Style... styles)
styles
- the styles to addvoid clearStyles()
org.geotools.styling.Style getSelectionStyle(DataSet type)
type
- the data set
org.geotools.styling.Style getDefinedStyle(TypeDefinition type)
null
will be returned.
type
- the type definition
null
org.eclipse.swt.graphics.RGB getBackground()
void setBackground(org.eclipse.swt.graphics.RGB color)
color
- the map background colorvoid addListener(StyleServiceListener listener)
listener
- the listener to addvoid removeListener(StyleServiceListener listener)
listener
- the listener to remove
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |