ilog.views.maps.propertysheet
Class IlvMapStylePropertySheet.IlvRetargetedPropertyDescriptor

java.lang.Object
  extended by ilog.views.maps.propertysheet.IlvMapStylePropertySheet.IlvRetargetedPropertyDescriptor
All Implemented Interfaces:
ilog.views.util.psheet.IlvPropertyDescriptor
Enclosing class:
IlvMapStylePropertySheet

public abstract static class IlvMapStylePropertySheet.IlvRetargetedPropertyDescriptor
extends Object
implements ilog.views.util.psheet.IlvPropertyDescriptor

A wrapper of an IlvPropertyDescriptor that can be used when the the property sheet shows properties from more than one target bean. It simply redirects the invocations of setters and getters to the real target bean.

Since:
JViews 7.5

Constructor Summary
IlvMapStylePropertySheet.IlvRetargetedPropertyDescriptor(ilog.views.util.psheet.IlvPropertyDescriptor propDesc)
          Creates a retargeted property descriptor from an IlvPropertyDescriptor.
 
Method Summary
 Object get(Object target)
          Returns a String representing an URL where the HTML documentation of the set method of the property is.
 String getDisplayName()
          Returns the name that will be displayed in the property sheet.
 String getGetDocumentation()
          Returns a String representing an URL where the HTML documentation of the get method of the property is.
 String getName()
          Returns the name of the property.
 ilog.views.util.psheet.IlvPropertyDescriptor getOriginalDescriptor()
          Returns the original descriptor.
 Class getPropertyEditorClass()
          Returns the class type of the editor of the property.
 Class getPropertyType()
          Returns the class type of the property.
abstract  Object getRealTarget(Object target)
          Returns the object really pointed to by target parameter.
 String getSetDocumentation()
          Returns a String representing an URL where the HTML documentation of the set method of the property is.
 String getShortDescription()
          Returns the description shown in the tooltip.
 boolean isPublic()
          Returns true if the property is public.
 void set(Object target, Object value)
          Sets the value of the property for the target object.
 void setPropertyEditorClass(Class editorClass)
          Changes the class type of the editor of the property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvMapStylePropertySheet.IlvRetargetedPropertyDescriptor

public IlvMapStylePropertySheet.IlvRetargetedPropertyDescriptor(ilog.views.util.psheet.IlvPropertyDescriptor propDesc)
Creates a retargeted property descriptor from an IlvPropertyDescriptor.

Parameters:
propDesc - The IlvPropertyDescriptor.
Method Detail

isPublic

public boolean isPublic()
Returns true if the property is public.

Specified by:
isPublic in interface ilog.views.util.psheet.IlvPropertyDescriptor
See Also:
IlvPropertyDescriptor.isPublic()

getName

public String getName()
Returns the name of the property.

Specified by:
getName in interface ilog.views.util.psheet.IlvPropertyDescriptor
See Also:
IlvPropertyDescriptor.getName()

getDisplayName

public String getDisplayName()
Returns the name that will be displayed in the property sheet.

Specified by:
getDisplayName in interface ilog.views.util.psheet.IlvPropertyDescriptor
See Also:
IlvPropertyDescriptor.getDisplayName()

getShortDescription

public String getShortDescription()
Returns the description shown in the tooltip.

Specified by:
getShortDescription in interface ilog.views.util.psheet.IlvPropertyDescriptor
See Also:
IlvPropertyDescriptor.getShortDescription()

getPropertyType

public Class getPropertyType()
Returns the class type of the property.

Specified by:
getPropertyType in interface ilog.views.util.psheet.IlvPropertyDescriptor
See Also:
IlvPropertyDescriptor.getPropertyType()

getPropertyEditorClass

public Class getPropertyEditorClass()
Returns the class type of the editor of the property.

Specified by:
getPropertyEditorClass in interface ilog.views.util.psheet.IlvPropertyDescriptor
See Also:
IlvPropertyDescriptor.getPropertyEditorClass()

setPropertyEditorClass

public void setPropertyEditorClass(Class editorClass)
Changes the class type of the editor of the property.

Specified by:
setPropertyEditorClass in interface ilog.views.util.psheet.IlvPropertyDescriptor
See Also:
IlvPropertyDescriptor.setPropertyEditorClass(java.lang.Class)

getGetDocumentation

public String getGetDocumentation()
Returns a String representing an URL where the HTML documentation of the get method of the property is.

Specified by:
getGetDocumentation in interface ilog.views.util.psheet.IlvPropertyDescriptor
See Also:
IlvPropertyDescriptor.getGetDocumentation()

getSetDocumentation

public String getSetDocumentation()
Returns a String representing an URL where the HTML documentation of the set method of the property is.

Specified by:
getSetDocumentation in interface ilog.views.util.psheet.IlvPropertyDescriptor
See Also:
IlvPropertyDescriptor.getSetDocumentation()

get

public Object get(Object target)
           throws Exception
Returns a String representing an URL where the HTML documentation of the set method of the property is.

Specified by:
get in interface ilog.views.util.psheet.IlvPropertyDescriptor
Throws:
Exception
See Also:
IlvPropertyDescriptor.get(java.lang.Object)

set

public void set(Object target,
                Object value)
         throws Exception
Sets the value of the property for the target object.

Specified by:
set in interface ilog.views.util.psheet.IlvPropertyDescriptor
Throws:
Exception
See Also:
IlvPropertyDescriptor.set(java.lang.Object, java.lang.Object)

getOriginalDescriptor

public ilog.views.util.psheet.IlvPropertyDescriptor getOriginalDescriptor()
Returns the original descriptor.

Returns:
Returns the original descriptor.

getRealTarget

public abstract Object getRealTarget(Object target)
Returns the object really pointed to by target parameter.

Parameters:
target - The original target.
Returns:
The real target


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.