|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openjump.core.apitools.objecttyperoles.FeatureCollectionRole
public abstract class FeatureCollectionRole
Base class for different roles of a PirolFeatureCollection, like RasterImage, Grid, Outline, etc.
[sstein] - 22.Feb.2009 - modified to work in OpenJUMP| Field Summary | |
|---|---|
static int |
numOfExistentRoles
Number of existent roles roles |
protected FeatureCollectionRoleTypes |
type
|
| Constructor Summary | |
|---|---|
FeatureCollectionRole(FeatureCollectionRoleTypes type)
|
|
| Method Summary | |
|---|---|
void |
clearRam()
Method to be called e.g. by a FeatureCollection, when it's disposed to free RAM that may be bound in references to objects, that are still referenced by other objects, but won't be used without the FeatureCollection. |
boolean |
containsGrid()
|
boolean |
containsImage()
|
boolean |
equalsRole(FeatureCollectionRole role)
Check if this role is the same type of role as the given one. |
boolean |
equalsRole(FeatureCollectionRoleTypes roleType)
Check if this role is the same type of role as the given one. |
boolean |
equalsRole(int roleID)
Check if this role is the same type of role as the given role id. |
int |
getRoleId()
|
FeatureCollectionRoleTypes |
getType()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected FeatureCollectionRoleTypes type
public static final int numOfExistentRoles
| Constructor Detail |
|---|
public FeatureCollectionRole(FeatureCollectionRoleTypes type)
| Method Detail |
|---|
public int getRoleId()
PirolFeatureCollectionRoleTypespublic FeatureCollectionRoleTypes getType()
public boolean containsGrid()
public boolean containsImage()
public boolean equalsRole(FeatureCollectionRole role)
role - role to check for type equality
public boolean equalsRole(FeatureCollectionRoleTypes roleType)
role - role to check for type equality
public boolean equalsRole(int roleID)
roleID - id of the role type to check for type equality
PirolFeatureCollectionRoleTypespublic void clearRam()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||