Library | Package Java Toolkit

Interface LayerItem

package com.ptc.wfc.wfcLayerState;

public interface LayerItem
  extends com.ptc.pfc.pfcObject.Object



Description

Provides the information of layer item.
Direct Known Subclasses:
WLayer, WSolidGeometryLayerItem, WAxis, WSurface, WCurve, WCsys, WEdge, WQuilt, Annotation, AnnotationElement, WXSection, WFeature, WRefDimension, WUDFDimension, WDimension2D, WNote, WTable



Method Summary
voidAddNoUpdate (Layer Layer)
    Adds the specified item to a layer.
LayersGetLayers ( /*optional*/ Drawing Drawing)
    Finds all layers containing the given item.
booleanIsLayerItemVisible ( /*optional*/ View View)
    Returns the visibility status for the specified layer item.
voidRemoveNoUpdate (Layer Layer)
    Removes the specified item from the layer and does not do model tree update.

Method Detail

IsLayerItemVisible

booleanIsLayerItemVisible ( /*optional*/ View View)


    Returns the visibility status for the specified layer item.
Manual References:
ModelItem: Layer Operations, ModelItem: Layer Operations
Parameters:
View
 
Returns:
 


RemoveNoUpdate

voidRemoveNoUpdate (Layer Layer)


    Removes the specified item from the layer and does not do model tree update.

Exceptions thrown (but not limited to):

XToolkitNotFound - The specified layer was not found.

XToolkitInvalidName - You specified an invalid layer name.

XToolkitInvalidType - You specified an invalid layer item type.


Manual References:
ModelItem: Layer Operations, ModelItem: Layer Operations
Parameters:
Layer
 
Returns:


GetLayers

LayersGetLayers ( /*optional*/ Drawing Drawing)


    Finds all layers containing the given item.

Exceptions thrown (but not limited to):

XToolkitNotFound - The item is not found on any layers in the designated model.


Manual References:
ModelItem: Layer Operations, ModelItem: Layer Operations
Parameters:
Drawing
 
Returns:
 


AddNoUpdate

voidAddNoUpdate (Layer Layer)


    Adds the specified item to a layer.

Exceptions thrown (but not limited to):

XToolkitInvalidName - You specified an invalid layer name.

XToolkitInvalidType - You specified an invalid type in the ProLayerItem structure.


Manual References:
ModelItem: Layer Operations, ModelItem: Layer Operations
Parameters:
Layer
 
Returns: