|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.framework.BasePropertyPage
com.esri.arcgis.cartoUI.BaseCustomRendererPropertyPage
public abstract class BaseCustomRendererPropertyPage
BaseCustomRendererPropertyPage is the base class which Java implementations of a Custom renderer property page should extend from.
Implementations of a Custom renderer property page should define a Java user interface that derives from javax.swing.JFrame.
It is recommended to keep the implementation of the user interface seperate from the implementation of the class that derives
from BaseCustomRendererPropertyPage. For example,
| Field Summary |
|---|
| Fields inherited from interface com.esri.arcgis.framework.IComEmbeddedPropertyPage |
|---|
IID, IID063304c3_7b90_48e9_b2d3_e795a8ba926b, xxDummy |
| Fields inherited from interface com.esri.arcgis.cartoUI.IRendererPropertyPage |
|---|
IID, IID44bd4d21_5f47_11d0_92da_00805f7c28b0, xxDummy |
| Fields inherited from interface com.esri.arcgis.framework.IComPropertyPage |
|---|
IID, IID76951cc6_dbb1_11d2_b868_00600802e603, xxDummy |
| Constructor Summary | |
|---|---|
BaseCustomRendererPropertyPage()
|
|
| Method Summary | |
|---|---|
boolean |
applies(ISet objects)
Indicates if the page applies to the specified objects. |
void |
apply()
Applies any changes to the object(s). |
abstract void |
apply(IFeatureRenderer yourCustomRenderer)
Applies property changes onto the Custom renderer. |
boolean |
canEdit(IFeatureRenderer obj)
Indicates if the property page can modify the properties of the specified renderer. |
Object |
createCompatibleObject(Object kind)
Create a new object using the specified object as a template. |
IUID |
getClassID()
Property page class id (unique identifier object). |
abstract Class |
getCustomRendererDef()
|
abstract String |
getDescription()
Renderer description. |
abstract String |
getName()
Name of the renderer. |
abstract int |
getPreviewImage()
Preview bitmap for the renderer that appears on the page. |
IUID |
getRendererClassID()
Renderer class id (unique identifier object). |
String |
getTitle()
The title of the property page. |
abstract String |
getType()
Renderer type. |
JFrame |
initGUI()
|
abstract JFrame |
initGUI(IFeatureRenderer yourCustomRender)
Initializes the User Interface with default properties of a Custom renderer. |
void |
queryObject(Object theObject)
Apply the property page settings to the specified object. |
void |
setObjects(ISet objects)
Supplies the page with the object(s) to be edited. |
| Methods inherited from class com.esri.arcgis.framework.BasePropertyPage |
|---|
activate, cancel, deactivate, getHeight, getHelpContextID, getHelpFile, getPriority, getWidth, hide, IComPropertyPage_isPageDirty, pageChanged, repaintJFrame, setPageSiteByRef, setPriority, setTitle, show |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseCustomRendererPropertyPage()
| Method Detail |
|---|
public abstract void apply(IFeatureRenderer yourCustomRenderer)
Since this method is not called on Java's EDT thread it is unsafe to modify properties of user interface elements residing on the property page.
It is safe to use the ArcObjects API within this method.
yourCustomRenderer - the Custom renderer that is associated with this property pagepublic abstract Class getCustomRendererDef()
public abstract JFrame initGUI(IFeatureRenderer yourCustomRender)
javax.swing.JFrame and returns it
to the ArcGIS runtime. This method is passed in a reference to an instance of a Custom renderer
from which default properties of the custom renderer can be obtained to initialize the user interface *
Implementations of this method should not call methods to realize the JFrame; example, setVisible(true). Visibility of the JFrame and it's life-cycle management is performed internally by the ArcGIS runtime.
It is safe to use the ArcObjects API within this method.
yourCustomRenderer - the Custom reference that is associated with this property page
public JFrame initGUI()
initGUI in class BasePropertyPage
public final boolean applies(ISet objects)
throws IOException,
AutomationException
BasePropertyPage
applies in interface IComPropertyPageapplies in class BasePropertyPageobjects - A reference to a com.esri.arcgis.system.ISet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public final void apply()
throws AutomationException,
IOException
BasePropertyPage
apply in interface IComPropertyPageapply in class BasePropertyPageAutomationException - If the ArcObject component throws an exception.
IOException - If there are interop problems.public final String getTitle()
BasePropertyPage
getTitle in interface IComPropertyPagegetTitle in class BasePropertyPage
public final void setObjects(ISet objects)
throws IOException,
AutomationException
BasePropertyPage
setObjects in interface IComPropertyPagesetObjects in class BasePropertyPageobjects - A reference to a com.esri.arcgis.system.ISet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public final Object createCompatibleObject(Object kind)
throws IOException,
AutomationException
createCompatibleObject in interface IComEmbeddedPropertyPagekind - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public final void queryObject(Object theObject)
throws IOException,
AutomationException
queryObject in interface IComEmbeddedPropertyPagetheObject - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public final boolean canEdit(IFeatureRenderer obj)
throws IOException,
AutomationException
canEdit in interface IRendererPropertyPageobj - A reference to a (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public final IUID getClassID()
throws IOException,
AutomationException
getClassID in interface IRendererPropertyPageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public final IUID getRendererClassID()
throws IOException,
AutomationException
getRendererClassID in interface IRendererPropertyPageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public abstract String getDescription()
throws IOException,
AutomationException
getDescription in interface IRendererPropertyPageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public abstract String getName()
throws IOException,
AutomationException
getName in interface IRendererPropertyPageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public abstract int getPreviewImage()
throws IOException,
AutomationException
getPreviewImage in interface IRendererPropertyPageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public abstract String getType()
throws IOException,
AutomationException
getType in interface IRendererPropertyPageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||