public abstract class AbstractLinkProperties extends java.lang.Object implements Persistent
Constructor and Description |
---|
AbstractLinkProperties()
Deprecated.
Default constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.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
|
java.lang.String |
getField()
Deprecated.
Gets the fieldīs name of the table that the user has selected
|
abstract java.net.URI[] |
getLink(FLayer layer,
java.awt.geom.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(java.lang.String extension)
Deprecated.
Sets the extension
|
void |
setField(java.lang.String campo)
Deprecated.
Sets the fieldīs name
|
void |
setType(int tipo)
Deprecated.
Sets the type of the HyperLink
|
public AbstractLinkProperties()
public abstract java.net.URI[] getLink(FLayer layer, java.awt.geom.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 java.lang.String getField()
public void setField(java.lang.String campo)
campo,
- the fieldīs namepublic int getType()
public void setType(int tipo)
tipo
- public java.lang.String getExt()
public void setExt(java.lang.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