|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.graphic.IlvMapSelectionFactory
public class IlvMapSelectionFactory
A map selection factory. Usually mapping objects are not editable.
This selection factory allows some objects to be editable by setting
a IlvMapSelectionFactory.IlvMapEditable property on them.
IlvSelectionFactory| Nested Class Summary | |
|---|---|
static class |
IlvMapSelectionFactory.IlvMapEditable
A named property telling that an IlvGraphic is editable. |
| Constructor Summary | |
|---|---|
IlvMapSelectionFactory()
Creates a new IlvMapSelectionFactory. |
|
| Method Summary | |
|---|---|
String |
getDefaultInteractorString()
Returns the name of the class that is used as polypoints edition. |
static boolean |
isEditable(IlvGraphic g)
Tells if the given IlvGraphic is editable or not. |
IlvSelection |
makeSelection(IlvGraphic obj)
Returns an IlvSelection. |
void |
setDefaultInteractorString(String is)
Sets the name of the class that will be used as the polypoints edition. |
static void |
setEditable(IlvGraphic g,
boolean edit)
Add or remove graphic object from the editable table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvMapSelectionFactory()
IlvMapSelectionFactory.
| Method Detail |
|---|
public static boolean isEditable(IlvGraphic g)
IlvGraphic is editable or not.
g - The ilvGraphic to check.
true if the graphic s editable, false otherwise.
public static void setEditable(IlvGraphic g,
boolean edit)
g - The object to add into the editable table.edit - true to add an object into the table,
false to remove it from the table.public IlvSelection makeSelection(IlvGraphic obj)
IlvSelection. If the object is
editable, a IlvPolyPointsSelection is returned.
Otherwise, a IlvMapSelectione is returned.
makeSelection in interface IlvSelectionFactoryobj - The object to make a selection for.
IlvSelectionpublic String getDefaultInteractorString()
public void setDefaultInteractorString(String is)
is - The new interactor class name.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||