|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.arcmapui.TableProperties
public class TableProperties
Table window properties.
Constructor Summary | |
---|---|
TableProperties()
Constructs a TableProperties using ArcGIS Engine. |
|
TableProperties(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. TableProperties theTableProperties = (TableProperties) obj; |
Method Summary | |
---|---|
void |
activeViewChanged(IDocumentEventsActiveViewChangedEvent theEvent)
Fired when the active view changes. |
void |
add(ITableProperty pTableProperty)
Add a table property. |
void |
afterDraw(IActiveViewEventsAfterDrawEvent theEvent)
Fired after the specified phase is drawn. |
void |
afterItemDraw(IActiveViewEventsAfterItemDrawEvent theEvent)
Fired after an individual view item is drawn. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
boolean |
beforeCloseDocument(IDocumentEventsBeforeCloseDocumentEvent theEvent)
Fired before a document is closed. |
void |
closeDocument(IDocumentEventsCloseDocumentEvent theEvent)
Fired when a document is closed. |
void |
contentsChanged(IActiveViewEventsContentsChangedEvent theEvent)
Fired when the contents of the view changes. |
void |
contentsCleared(IActiveViewEventsContentsClearedEvent theEvent)
Fired when the contents of the view is cleared. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
void |
focusMapChanged(IActiveViewEventsFocusMapChangedEvent theEvent)
Fired when a new map is made active. |
Font |
getCellFont()
Table font. |
IColor |
getCellTextColor()
Text color use in table window. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
Font |
getHeadingFont()
Table font. |
IColor |
getHeadingTextColor()
Text color use in table window. |
IEnumTableProperties |
getIEnumTableProperties()
Table Property Enum. |
String |
getIndexFieldCharacter()
Character placed to the right of the field name when a field is indexed. |
IColor |
getSelectionColor()
Selection color use to highlight rows. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
hashCode()
the hashcode for this object |
boolean |
isAutoValidateEdits()
Indicates if the table window should validate any changes to the data during editing. |
void |
isDirty()
isDirty |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isFireRowChangedEventsForJoins()
Indicates if row changed events should be fires for join tables. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
boolean |
isShowCodedValueDomainDescriptions()
Indicates if the table window shows coded value domain descriptions or values. |
boolean |
isShowIndexFieldCharacter()
Indicates whether table window should show field index character. |
void |
itemAdded(IActiveViewEventsItemAddedEvent theEvent)
Fired when an item is added to the view. |
void |
itemDeleted(IActiveViewEventsItemDeletedEvent theEvent)
Fired when an item is deleted from the view. |
void |
itemReordered(IActiveViewEventsItemReorderedEvent theEvent)
Fired when a view item is reordered. |
void |
load(IStream pstm)
load |
void |
mapsChanged(IDocumentEventsMapsChangedEvent theEvent)
Fired when a change is made to the map collection. |
void |
newDocument(IDocumentEventsNewDocumentEvent theEvent)
Fired when a new document is created. |
ITableProperty |
next()
Get the next table property. |
void |
onContextMenu(IDocumentEventsOnContextMenuEvent theEvent)
Indicates if a context menu should be displayed at the given xy location. |
void |
openDocument(IDocumentEventsOpenDocumentEvent theEvent)
Fired when a document is opened. |
void |
readExternal(ObjectInput in)
|
void |
remove(ITableProperty pTableProperty)
Remove a table property. |
void |
removeAll()
Remove all table properties. |
void |
reset()
Reset. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
selectionChanged(IActiveViewEventsSelectionChangedEvent theEvent)
Call this function to fire the selection changed event. |
void |
setAutoValidateEdits(boolean autoValidateEdits)
Indicates if the table window should validate any changes to the data during editing. |
void |
setCellFontByRef(Font ppFont)
Table font. |
void |
setCellTextColorByRef(IColor ppTextColor)
Text color use in table window. |
void |
setFireRowChangedEventsForJoins(boolean pFireRowEvents)
Indicates if row changed events should be fires for join tables. |
void |
setHeadingFontByRef(Font ppFont)
Table font. |
void |
setHeadingTextColorByRef(IColor ppTextColor)
Text color use in table window. |
void |
setIndexFieldCharacter(String pIndexChar)
Character placed to the right of the field name when a field is indexed. |
void |
setSelectionColorByRef(IColor ppSelectionColor)
Selection color use to highlight rows. |
void |
setShowCodedValueDomainDescriptions(boolean showCodedValueDomainDescriptions)
Indicates if the table window shows coded value domain descriptions or values. |
void |
setShowIndexFieldCharacter(boolean pShowIndexCharacter)
Indicates whether table window should show field index character. |
void |
spatialReferenceChanged(IActiveViewEventsSpatialReferenceChangedEvent theEvent)
Fired when the spatial reference is changed. |
void |
viewRefreshed(IActiveViewEventsViewRefreshedEvent theEvent)
Fired when view is refreshed before draw happens. |
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public TableProperties() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic TableProperties(Object obj) throws IOException
TableProperties theTableProperties = (TableProperties) obj;
obj
to TableProperties
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IEnumTableProperties getIEnumTableProperties() throws IOException, AutomationException
getIEnumTableProperties
in interface ITableProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void add(ITableProperty pTableProperty) throws IOException, AutomationException
add
in interface ITableProperties
pTableProperty
- A reference to a com.esri.arcgis.arcmapui.ITableProperty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void remove(ITableProperty pTableProperty) throws IOException, AutomationException
remove
in interface ITableProperties
pTableProperty
- A reference to a com.esri.arcgis.arcmapui.ITableProperty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAll() throws IOException, AutomationException
removeAll
in interface ITableProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getSelectionColor() throws IOException, AutomationException
getSelectionColor
in interface IDefaultTableProperty
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSelectionColorByRef(IColor ppSelectionColor) throws IOException, AutomationException
setSelectionColorByRef
in interface IDefaultTableProperty
ppSelectionColor
- A reference to a com.esri.arcgis.display.IColor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Font getHeadingFont() throws IOException, AutomationException
getHeadingFont
in interface ITableCharacteristics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Font getCellFont() throws IOException, AutomationException
getCellFont
in interface ITableCharacteristics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getHeadingTextColor() throws IOException, AutomationException
getHeadingTextColor
in interface ITableCharacteristics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getCellTextColor() throws IOException, AutomationException
getCellTextColor
in interface ITableCharacteristics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getIndexFieldCharacter() throws IOException, AutomationException
getIndexFieldCharacter
in interface ITableCharacteristics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowIndexFieldCharacter() throws IOException, AutomationException
isShowIndexFieldCharacter
in interface ITableCharacteristics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHeadingFontByRef(Font ppFont) throws IOException, AutomationException
setHeadingFontByRef
in interface ITableCharacteristics
ppFont
- A reference to a com.esri.arcgis.support.ms.stdole.Font (A com.esri.arcgis.support.ms.stdole.Font COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCellFontByRef(Font ppFont) throws IOException, AutomationException
setCellFontByRef
in interface ITableCharacteristics
ppFont
- A reference to a com.esri.arcgis.support.ms.stdole.Font (A com.esri.arcgis.support.ms.stdole.Font COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHeadingTextColorByRef(IColor ppTextColor) throws IOException, AutomationException
setHeadingTextColorByRef
in interface ITableCharacteristics
ppTextColor
- A reference to a com.esri.arcgis.display.IColor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCellTextColorByRef(IColor ppTextColor) throws IOException, AutomationException
setCellTextColorByRef
in interface ITableCharacteristics
ppTextColor
- A reference to a com.esri.arcgis.display.IColor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIndexFieldCharacter(String pIndexChar) throws IOException, AutomationException
setIndexFieldCharacter
in interface ITableCharacteristics
pIndexChar
- The pIndexChar (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowIndexFieldCharacter(boolean pShowIndexCharacter) throws IOException, AutomationException
setShowIndexFieldCharacter
in interface ITableCharacteristics
pShowIndexCharacter
- The pShowIndexCharacter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAutoValidateEdits() throws IOException, AutomationException
isAutoValidateEdits
in interface ITableCharacteristics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAutoValidateEdits(boolean autoValidateEdits) throws IOException, AutomationException
setAutoValidateEdits
in interface ITableCharacteristics
autoValidateEdits
- The autoValidateEdits (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowCodedValueDomainDescriptions() throws IOException, AutomationException
isShowCodedValueDomainDescriptions
in interface ITableCharacteristics
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowCodedValueDomainDescriptions(boolean showCodedValueDomainDescriptions) throws IOException, AutomationException
setShowCodedValueDomainDescriptions
in interface ITableCharacteristics
showCodedValueDomainDescriptions
- The showCodedValueDomainDescriptions (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isFireRowChangedEventsForJoins() throws IOException, AutomationException
isFireRowChangedEventsForJoins
in interface ITableCalculator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFireRowChangedEventsForJoins(boolean pFireRowEvents) throws IOException, AutomationException
setFireRowChangedEventsForJoins
in interface ITableCalculator
pFireRowEvents
- The pFireRowEvents (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITableProperty next() throws IOException, AutomationException
next
in interface IEnumTableProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void reset() throws IOException, AutomationException
reset
in interface IEnumTableProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws IOException, AutomationException
esri_clone
in interface IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws IOException, AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws IOException, AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void activeViewChanged(IDocumentEventsActiveViewChangedEvent theEvent) throws IOException, AutomationException
activeViewChanged
in interface IDocumentEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void mapsChanged(IDocumentEventsMapsChangedEvent theEvent) throws IOException, AutomationException
mapsChanged
in interface IDocumentEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onContextMenu(IDocumentEventsOnContextMenuEvent theEvent) throws IOException, AutomationException
onContextMenu
in interface IDocumentEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void newDocument(IDocumentEventsNewDocumentEvent theEvent) throws IOException, AutomationException
newDocument
in interface IDocumentEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void openDocument(IDocumentEventsOpenDocumentEvent theEvent) throws IOException, AutomationException
openDocument
in interface IDocumentEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean beforeCloseDocument(IDocumentEventsBeforeCloseDocumentEvent theEvent) throws IOException, AutomationException
beforeCloseDocument
in interface IDocumentEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void closeDocument(IDocumentEventsCloseDocumentEvent theEvent) throws IOException, AutomationException
closeDocument
in interface IDocumentEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void contentsChanged(IActiveViewEventsContentsChangedEvent theEvent) throws IOException, AutomationException
The Map object fires this event when a new document is loaded. Adding a new layer to a Map does not trigger this event.
The PageLayout object fires the event when IGraphicsContainer::DeleteAllElements in called and when a new document is loaded.
contentsChanged
in interface IActiveViewEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IActiveView.contentsChanged()
public void contentsCleared(IActiveViewEventsContentsClearedEvent theEvent) throws IOException, AutomationException
contentsCleared
in interface IActiveViewEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void itemAdded(IActiveViewEventsItemAddedEvent theEvent) throws IOException, AutomationException
The Map fires the event every time a new layer is added.
The PageLayout fires this event whenever a new element is added to the layout. Elements include not only graphics but data frames as well.
itemAdded
in interface IActiveViewEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void itemDeleted(IActiveViewEventsItemDeletedEvent theEvent) throws IOException, AutomationException
The PageLayout object fires this event whenever elements are deleted from the layout.
The Map object fires this event when a layer is removed.
itemDeleted
in interface IActiveViewEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void itemReordered(IActiveViewEventsItemReorderedEvent theEvent) throws IOException, AutomationException
The Map objects only fire this event whenever IMap::MoveLayer is called. In the ArcMap application, this occurs when you reorder layers in the table of contents. The Map will also fire this event when new layers are added.
The PageLayout object fires this event when changing the order of graphics. For example, IGraphicsContainer::BringToFront, PutElementOrder, SendToBack, SendBackward, and BringForward all fire this event. These functions are on ArcMap's Drawing menu under the Order pull right menu. Although the Map object is also a graphics container, it does not fire this event when its graphics are reordered.
itemReordered
in interface IActiveViewEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void selectionChanged(IActiveViewEventsSelectionChangedEvent theEvent) throws IOException, AutomationException
selectionChanged
in interface IActiveViewEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void viewRefreshed(IActiveViewEventsViewRefreshedEvent theEvent) throws IOException, AutomationException
Method that gets fired in response to IActiveView::Refresh and IActiveView::PartialRefresh.
This event is useful in the case where you're watching for something to change in the view and there aren't any specific events for that change (e.g. ContentsChanged, ItemAdded). You can always listen for this method as a last resort. Care must be taken however to be very efficient in your implementation of this event because it will be called quite often.
The event parameters directly coincide with the arguments to IActiveView::PartialRefresh. For additional information about the arguments, see the help for that method.
If the event object connects to both the layout and a map, then the view parameter tells you which object initiated the event.
In an implementation of this method you typically want to check the phase and respond to only one. Otherwise, your code will execute multiple times per drawing sequence.
viewRefreshed
in interface IActiveViewEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void afterDraw(IActiveViewEventsAfterDrawEvent theEvent) throws IOException, AutomationException
afterDraw
in interface IActiveViewEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void afterItemDraw(IActiveViewEventsAfterItemDrawEvent theEvent) throws IOException, AutomationException
AfterItemDraw can be used to execute after each individual item has drawn. Event firing can be an expensive operation (time consuming) when there are many layers in a map, however. As a result, the AfterItemDraw event is only fired when the IViewManger::VerboseEvents property is set to True. By default this property is False.
afterItemDraw
in interface IActiveViewEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void focusMapChanged(IActiveViewEventsFocusMapChangedEvent theEvent) throws IOException, AutomationException
focusMapChanged
in interface IActiveViewEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void spatialReferenceChanged(IActiveViewEventsSpatialReferenceChangedEvent theEvent) throws IOException, AutomationException
spatialReferenceChanged
in interface IActiveViewEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |