|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.graph.background.IlpIVLBackgroundFactory
public class IlpIVLBackgroundFactory
This factory creates IlpBackground implementation instances
that can handle files of type IVL.
It creates the following types of IlpBackground implementations:
IlpIVLFrameworkBackground
IlpIVLMapBackground
This factory determines which IlpBackground implementation to
create based on its creation mode property.
By default the creation mode is MAP_CREATION_MODE
, which ensures that instances of IlpIVLMapBackground are created
by default.
IlpIVLFrameworkBackground,
IlpIVLMapBackground| Field Summary | |
|---|---|
static String |
DEFAULT_CREATION_MODE
Holds the creation mode which all IlpIVLBackgroundFactory will
default to when creating implementations of the IlpBackground
interface. |
static String |
FRAMEWORK_CREATION_MODE
Creation mode that indicates that this factory will be creating IlpIVLFrameworkBackground instances. |
static String |
MAP_CREATION_MODE
Creation mode that indicates that this factory will be creating IlpIVLMapBackground instances. |
| Constructor Summary | |
|---|---|
IlpIVLBackgroundFactory()
|
|
| Method Summary | |
|---|---|
IlpBackground |
createBackground(IlpViewsView view,
URL backgroundURL)
Creates an IlpBackground implementation for IVL
files depending on the current creation mode. |
String |
getCreationMode()
Returns the current creation mode under which this factory is operating. |
void |
setCreationMode(String creationMode)
Sets the creation mode under which this factory is to operate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String MAP_CREATION_MODE
IlpIVLMapBackground instances.
public static final String FRAMEWORK_CREATION_MODE
IlpIVLFrameworkBackground instances.
public static String DEFAULT_CREATION_MODE
IlpIVLBackgroundFactory will
default to when creating implementations of the IlpBackground
interface. By default it is the MAP_CREATION_MODE.
| Constructor Detail |
|---|
public IlpIVLBackgroundFactory()
| Method Detail |
|---|
public IlpBackground createBackground(IlpViewsView view,
URL backgroundURL)
throws IlpBackgroundHandlingException
IlpBackground implementation for IVL
files depending on the current creation mode.
createBackground in interface IlpBackgroundFactoryview - the view in which the background will be displayed.backgroundURL - the URL of interest.
IlpBackground representing the given file.
IlpBackgroundHandlingException - in case a problem occurs.DEFAULT_CREATION_MODE,
FRAMEWORK_CREATION_MODE,
MAP_CREATION_MODEpublic String getCreationMode()
public void setCreationMode(String creationMode)
creationMode - the creation mode under which this factory is to operateFRAMEWORK_CREATION_MODE,
MAP_CREATION_MODE
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||