public class IlvMapSelectionFactory extends Object implements IlvSelectionFactory
IlvMapSelectionFactory.IlvMapEditable
property on them.IlvSelectionFactory
Modifier and Type | Class and Description |
---|---|
static class |
IlvMapSelectionFactory.IlvMapEditable
A named property telling that an
IlvGraphic is editable. |
Constructor and Description |
---|
IlvMapSelectionFactory()
Creates a new
IlvMapSelectionFactory . |
Modifier and Type | Method and Description |
---|---|
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.
|
public IlvMapSelectionFactory()
IlvMapSelectionFactory
.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 IlvSelectionFactory
obj
- The object to make a selection for.IlvSelection
public String getDefaultInteractorString()
public void setDefaultInteractorString(String is)
is
- The new interactor class name.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.