|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.graphic.views.background.IlpDefaultBackgroundSupport
public class IlpDefaultBackgroundSupport
This class implements the support of background images for
IlpViewsView.
| Constructor Summary | |
|---|---|
IlpDefaultBackgroundSupport()
Deprecated. Default constructor |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlpDefaultBackgroundSupport()
| Method Detail |
|---|
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)
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||