public abstract class AbstractLinkProperties extends Object implements Persistent
Constructor and Description |
---|
AbstractLinkProperties()
Deprecated.
Default constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getExt()
Deprecated.
Gets the extension of the files that the user has indicated like properties of the
HyperLink, this extension is added to the content of the field selected in the table
|
String |
getField()
Deprecated.
Gets the fieldīs name of the table that the user has selected
|
abstract URI[] |
getLink(FLayer layer,
Point2D point,
double tolerance)
Deprecated.
Provides an array with URIs.
|
int |
getType()
Deprecated.
Gets the type of the HyperLink
|
void |
loadFromState(PersistentState state)
Deprecated.
Set the state of the object from the state passed as parameter.
|
void |
saveToState(PersistentState state)
Deprecated.
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setExt(String extension)
Deprecated.
Sets the extension
|
void |
setField(String campo)
Deprecated.
Sets the fieldīs name
|
void |
setType(int tipo)
Deprecated.
Sets the type of the HyperLink
|
public AbstractLinkProperties()
public abstract URI[] getLink(FLayer layer, Point2D point, double tolerance) throws ReadException
layer,
- the layerpoint,
- the point to check that is contained or not in the geometries in the layertolerance,
- the tolerance allowed. Allowed margin of error to detect if the point
is contained in some geometries of the layerReadException
BehaviorException
public String getField()
public void setField(String campo)
campo,
- the fieldīs namepublic int getType()
public void setType(int tipo)
tipo
- public String getExt()
public void setExt(String extension)
extension,
- the extension of the filespublic void saveToState(PersistentState state) throws PersistenceException
saveToState
in interface Persistent
state
- PersistenceException
public void loadFromState(PersistentState state) throws PersistenceException
loadFromState
in interface Persistent
state
- PersistenceException