@Deprecated public class IlpDefaultBackgroundSupport extends Object implements IlpBackgroundSupport
IlpViewsView.| Constructor and Description |
|---|
IlpDefaultBackgroundSupport()
Deprecated.
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addBackground(URL backgroundURL)
Deprecated.
Implementation of
ilog.cpl.graph.background.IlpBackgroundSupport. |
void |
addBackground(URL backgroundURL,
IlpBackground background,
int index)
Deprecated.
Implementation of
ilog.cpl.graph.background.IlpBackgroundSupport. |
void |
addBackground(URL backgroundURL,
int index)
Deprecated.
Implementation of
ilog.cpl.graph.background.IlpBackgroundSupport. |
void |
addBackgroundListener(IlpBackgroundListener listener)
Deprecated.
Implementation of
ilog.cpl.graph.background.IlpBackgroundSupport. |
void |
addBackgrounds(List backgroundURLs)
Deprecated.
Implementation of
ilog.cpl.graph.background.IlpBackgroundSupport. |
void |
addBackgroundURL(URL backgroundURL)
Deprecated.
Adds a background on top of the other existing backgrounds.
|
void |
addBackgroundURL(URL backgroundURL,
IlpBackground background)
Deprecated.
Adds a background on top of the other existing backgrounds.
|
void |
attach(IlpViewsView view)
Deprecated.
Attaches this object to a given view.
|
IlpBackground |
createBackground(URL backgroundURL)
Deprecated.
Creates an
IlpBackground representing the given file. |
void |
detach()
Deprecated.
Detaches this object from its current view.
|
IlpBackgroundFactory |
getBackgroundFactory(String extension)
Deprecated.
Implementation of
ilog.cpl.graph.background.IlpBackgroundSupport. |
IlpBackground |
getBackgroundInstance(URL backgroundURL)
Deprecated.
Implementation of
ilog.cpl.graph.background.IlpBackgroundSupport. |
IlvManagerLayer |
getBackgroundLayer(URL backgroundURL)
Deprecated.
Returns the layer containing a background.
|
List |
getBackgrounds()
Deprecated.
Implementation of
ilog.cpl.graph.background.IlpBackgroundSupport. |
String |
getBackgroundTypeFactoryClassName(String extension)
Deprecated.
Return the background factory class name for an extension, or
null if none is registered. |
Collection |
getBackgroundURLs()
Deprecated.
Returns the list of backgrounds.
|
IlvManager |
getManager()
Deprecated.
Returns the
IlvManager of the view. |
IlvManagerView |
getManagerView()
Deprecated.
Returns the
IlvManagerView of the view. |
IlpViewsView |
getView()
Deprecated.
Returns the view.
|
boolean |
isVisible(URL backgroundURL)
Deprecated.
Returns the visibility of a particular background.
|
void |
moveBackground(URL backgroundURL,
int index)
Deprecated.
Implementation of
ilog.cpl.graph.background.IlpBackgroundSupport. |
void |
registerBackgroundFactory(String extension,
IlpBackgroundFactory factory)
Deprecated.
Implementation of
ilog.cpl.graph.background.IlpBackgroundSupport. |
void |
registerBackgroundType(String extension,
IlpBackgroundFactory backgroundHandler)
Deprecated.
Registers an
IlpBackgroundFactory to be responsible for all URLs
that have a given file extension. |
void |
reload(URL backgroundURL)
Deprecated.
Reloads a particular background.
|
void |
reloadAllBackgrounds()
Deprecated.
Reloads all backgrounds.
|
void |
reloadBackground(URL backgroundURL)
Deprecated.
Implementation of
ilog.cpl.graph.background.IlpBackgroundSupport. |
void |
reloadBackgrounds()
Deprecated.
Implementation of
ilog.cpl.graph.background.IlpBackgroundSupport. |
void |
removeAllBackgroundURLs()
Deprecated.
Removes all backgrounds.
|
void |
removeBackground(URL backgroundURL)
Deprecated.
Implementation of
ilog.cpl.graph.background.IlpBackgroundSupport. |
protected void |
removeBackgroundLayerInternal(URL backgroundURL,
IlvManagerLayer layer)
Deprecated.
|
void |
removeBackgroundListener(IlpBackgroundListener listener)
Deprecated.
Implementation of
ilog.cpl.graph.background.IlpBackgroundSupport. |
void |
removeBackgrounds()
Deprecated.
Implementation of
ilog.cpl.graph.background.IlpBackgroundSupport. |
void |
removeBackgroundURL(URL backgroundURL)
Deprecated.
Removes a background.
|
void |
setBackgroundURLs(URL[] backgroundURLs)
Deprecated.
Replaces the entire list of backgrounds.
|
void |
setView(IlpViewsView view)
Deprecated.
Implementation of
ilog.cpl.graph.background.IlpBackgroundSupport. |
void |
setVisible(URL backgroundURL,
boolean visible)
Deprecated.
Changes the visibility of a particular background.
|
void |
unregisterBackgroundType(String extension,
IlpBackgroundFactory backgroundHandler)
Deprecated.
Unregisters an
IlpBackgroundFactory. |
public IlpDefaultBackgroundSupport()
public IlpViewsView getView()
getView in interface IlpBackgroundSupportIlpViewsView that this background support is
associated with.public IlvManager getManager()
IlvManager of the view.public IlvManagerView getManagerView()
IlvManagerView of the view.public void registerBackgroundType(String extension, IlpBackgroundFactory backgroundHandler)
IlpBackgroundFactory to be responsible for all URLs
that have a given file extension. URLs with the extensions
"ivl", "ilv", "jpg", "jpeg", "png", "gif" are already handled
by default.public void unregisterBackgroundType(String extension, IlpBackgroundFactory backgroundHandler)
IlpBackgroundFactory.public String getBackgroundTypeFactoryClassName(String extension)
null if none is registered.public void attach(IlpViewsView view)
public void detach()
public IlpBackground createBackground(URL backgroundURL)
IlpBackground representing the given file.
This uses the registered IlpBackgroundFactorys.public void addBackgroundURL(URL backgroundURL)
public void addBackgroundURL(URL backgroundURL, IlpBackground background)
protected void removeBackgroundLayerInternal(URL backgroundURL, IlvManagerLayer layer)
backgroundURL - layer - public void removeBackgroundURL(URL backgroundURL)
public void removeAllBackgroundURLs()
public Collection getBackgroundURLs()
public void setBackgroundURLs(URL[] backgroundURLs)
public IlvManagerLayer getBackgroundLayer(URL backgroundURL)
public boolean isVisible(URL backgroundURL)
public void setVisible(URL backgroundURL, boolean visible)
public void reload(URL backgroundURL)
public void reloadAllBackgrounds()
public void addBackground(URL backgroundURL)
ilog.cpl.graph.background.IlpBackgroundSupport.addBackground in interface IlpBackgroundSupportbackgroundURL - the URL of the background to be addedIlpBackgroundSupport.addBackground(java.net.URL)public List getBackgrounds()
ilog.cpl.graph.background.IlpBackgroundSupport.getBackgrounds in interface IlpBackgroundSupportURL instances in the same order as they
were indexedIlpBackgroundSupport.getBackgrounds()public void reloadBackground(URL backgroundURL)
ilog.cpl.graph.background.IlpBackgroundSupport.reloadBackground in interface IlpBackgroundSupportbackgroundURL - the URL that points to a given background.IlpBackgroundSupport.reloadBackground(java.net.URL)public void removeBackground(URL backgroundURL)
ilog.cpl.graph.background.IlpBackgroundSupport.removeBackground in interface IlpBackgroundSupportbackgroundURL - the URL of the background of interestIlpBackgroundSupport.removeBackground(java.net.URL)public void setView(IlpViewsView view)
ilog.cpl.graph.background.IlpBackgroundSupport.setView in interface IlpBackgroundSupportview - the IlpViewsView of interest.IlpBackgroundSupport.setView(ilog.cpl.graphic.views.IlpViewsView)public IlpBackgroundFactory getBackgroundFactory(String extension)
ilog.cpl.graph.background.IlpBackgroundSupport.
Should not be called as it is not supported.
getBackgroundFactory in interface IlpBackgroundSupportextension - the extension that should specified in the form: "gif", "png"...IlpBackgroundFactory registered for the given extension or null
if no factory has been registered for it.IlpBackgroundSupport.getBackgroundFactory(java.lang.String)public void registerBackgroundFactory(String extension, IlpBackgroundFactory factory)
ilog.cpl.graph.background.IlpBackgroundSupport.
Should not be called as it is not supported.
registerBackgroundFactory in interface IlpBackgroundSupportextension - the extension that should specified in the form: "gif", "png"...factory - the IlpBackgroundFactory to be used for the given
extension or nullIlpBackgroundSupport.registerBackgroundFactory(java.lang.String, ilog.cpl.graph.background.IlpBackgroundFactory)public void removeBackgrounds()
ilog.cpl.graph.background.IlpBackgroundSupport.removeBackgrounds in interface IlpBackgroundSupportIlpBackgroundSupport.removeBackgrounds()public void addBackgrounds(List backgroundURLs)
ilog.cpl.graph.background.IlpBackgroundSupport.addBackgrounds in interface IlpBackgroundSupportbackgroundURLs - a List of URL instancesIlpBackgroundSupport.addBackgrounds(java.util.List)public IlpBackground getBackgroundInstance(URL backgroundURL)
ilog.cpl.graph.background.IlpBackgroundSupport.
Should not be called as it is not supported.
getBackgroundInstance in interface IlpBackgroundSupportbackgroundURL - the URL of interest.IlpBackground instance that represents the provided URLIlpBackgroundSupport.getBackgroundInstance(java.net.URL)public void reloadBackgrounds()
ilog.cpl.graph.background.IlpBackgroundSupport.reloadBackgrounds in interface IlpBackgroundSupportIlpBackgroundSupport.reloadBackgrounds()public void addBackground(URL backgroundURL, int index)
ilog.cpl.graph.background.IlpBackgroundSupport.
Should not be called as it is not supported.
addBackground in interface IlpBackgroundSupportbackgroundURL - the URL of the background to be addedindex - the index where to add the backgroundIlpBackgroundSupport.addBackground(java.net.URL, int)public void addBackground(URL backgroundURL, IlpBackground background, int index)
ilog.cpl.graph.background.IlpBackgroundSupport.
Should not be called as it is not supported.
addBackground in interface IlpBackgroundSupportbackgroundURL - the URL of the background to be addedbackground - the IlpBackground instance to be usedindex - the index where to add the backgroundIlpBackgroundSupport.addBackground(java.net.URL, ilog.cpl.graph.background.IlpBackground, int)public void addBackgroundListener(IlpBackgroundListener listener)
ilog.cpl.graph.background.IlpBackgroundSupport.
Should not be called as it is not supported.
addBackgroundListener in interface IlpBackgroundSupportlistener - IlpBackgroundListener to be notified of changes.IlpBackgroundSupport.addBackgroundListener(ilog.cpl.graph.background.event.IlpBackgroundListener)public void removeBackgroundListener(IlpBackgroundListener listener)
ilog.cpl.graph.background.IlpBackgroundSupport.
Should not be called as it is not supported.
removeBackgroundListener in interface IlpBackgroundSupportlistener - IlpBackgroundListener to be removed.IlpBackgroundSupport.removeBackgroundListener(ilog.cpl.graph.background.event.IlpBackgroundListener)public void moveBackground(URL backgroundURL, int index) throws IlpBackgroundHandlingException
ilog.cpl.graph.background.IlpBackgroundSupport.
Should not be called as it is not supported.
moveBackground in interface IlpBackgroundSupportbackgroundURL - the URL of the background of interest.index - the index where the background should now be located.IlpBackgroundHandlingException - in case a problem occurs when moving
the background.IlpBackgroundSupport.moveBackground(java.net.URL, int)© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.