public abstract class AbstractStyle extends AbstractCartographicSupport implements IStyle
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractStyle.RegisterPersistence |
CartographicSupport.CartographicContext| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
LOGGER |
static java.lang.String |
STYLE_PERSISTENCE_DEFINITION_NAME |
PAPER, WORLD| Constructor and Description |
|---|
AbstractStyle() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a copy of the object.
|
java.lang.String |
getDescription()
Returns the description of a symbol
|
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setDescription(java.lang.String desc)
Defines the description of a symbol.It will be specified with an
string.
|
copyCartographicContext, getCartographicContext, getReferenceSystem, getUnit, isInPixels, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setReferenceSystem, setUnit, toCartographicUnitsequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdrawInsideRectangle, drawOutline, isSuitableForcloneQuietly, cloneQuietlycopyCartographicContextprotected static final Logger LOGGER
public static final java.lang.String STYLE_PERSISTENCE_DEFINITION_NAME
public final void setDescription(java.lang.String desc)
IStylesetDescription in interface IStylepublic final java.lang.String getDescription()
IStylegetDescription in interface IStylepublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Cloneableclone in class java.lang.Objectjava.lang.CloneNotSupportedException - if the instance of the object cannot
be cloned. As this is extending Cloneable so its sure
it implements it, so this exception may be used for problems on specific
object instances.Object#clone()}.public void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentPersistenceExceptionpublic void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentPersistenceException