public interface StateCollection extends TransientObject
Layer.LayerManager#setStates
.
Modifier and Type | Method and Description |
---|---|
State |
getState(int layer)
Returns the state of the specified layer
License requirements: None. |
void |
setState(int layer,
State state)
Sets the state of the specified layer
License requirements: None. |
void |
setStateOfCategory(Category category,
State state)
Sets the state of every layer in the category to the
specified state, except the work layer
License requirements: None. |
_value, dispose, printTestData, printTestData
State getState(int layer) throws NXException, RemoteException
layer
- NXException
RemoteException
void setState(int layer, State state) throws NXException, RemoteException
layer
- state
- NXException
RemoteException
void setStateOfCategory(Category category, State state) throws NXException, RemoteException
category
- state
- new state for the category. Must not be
Layer.State#WORK_LAYER
NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.