public interface Layout extends NXObject
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat, NXObject.NextUserAttributeData
Modifier and Type | Method and Description |
---|---|
LayoutDefinition |
definition()
Returns the definition of the layout.
|
boolean |
displayStatus()
Returns whether the layout is the current layout
(
LayoutCollection.current() )
of the currently active display part of the session
(PartCollection.display() ). |
View[] |
getViews()
Returns the
View s of the layout. |
void |
open()
Opens a layout.
|
void |
replaceView(ModelingView view,
int row,
int column,
boolean performFitView)
Replaces a
ModelingView with another one at a specified position. |
void |
replaceView(ModelingView oldView,
ModelingView newView,
boolean performFitView)
Replaces a
ModelingView with another one. |
void |
save()
Saves a layout.
|
Layout |
saveAs(String layoutName)
Saves a layout with a different name.
|
View |
workView()
Returns the work view of the layout.
|
createAttributeIterator, deleteAllAttributesByType, deleteAllAttributesByType, deleteAttributeByTypeAndTitle, deleteAttributeByTypeAndTitle, deleteUserAttribute, deleteUserAttributes, deleteUserAttributes, getAttributeTitlesByType, getBooleanUserAttribute, getComputationalTimeUserAttribute, getIntegerAttribute, getIntegerUserAttribute, getNextUserAttribute, getPdmReferenceAttributeValue, getRealAttribute, getRealUserAttribute, getReferenceAttribute, getStringAttribute, getStringUserAttribute, getTimeAttribute, getTimeUserAttribute, getUserAttribute, getUserAttribute, getUserAttributeAsString, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeLock, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributesAsStrings, getUserAttributeSize, getUserAttributeSourceObjects, hasUserAttribute, hasUserAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setBooleanUserAttribute, setPdmReferenceAttribute, setReferenceAttribute, setReferenceAttribute, setTimeAttribute, setTimeAttribute, setTimeUserAttribute, setTimeUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttributeLock
printTestData, printTestData, tag, tagValue
findObject, isOccurrence, journalIdentifier, name, owningComponent, owningPart, print, prototype, setName
void replaceView(ModelingView view, int row, int column, boolean performFitView) throws NXException, RemoteException
ModelingView
with another one at a specified position.
view
- New view to replace old viewrow
- Row of view to be replacedcolumn
- Column of view to be replacedperformFitView
- Flag that indicates for the system to perform a fit before
displaying the view. Otherwise the system displays the
view at the scale at which it was last saved.NXException
RemoteException
void replaceView(ModelingView oldView, ModelingView newView, boolean performFitView) throws NXException, RemoteException
oldView
- Old view to be replacednewView
- New view to replace old viewperformFitView
- Flag to indicate for the system to perform a Fit before
displaying the view. Otherwise the system will display
the view at the scale at which they were last saved.NXException
RemoteException
LayoutDefinition definition() throws NXException, RemoteException
NXException
RemoteException
View[] getViews() throws NXException, RemoteException
NXException
RemoteException
boolean displayStatus() throws NXException, RemoteException
LayoutCollection.current()
)
of the currently active display part of the session
(PartCollection.display()
).
NXException
RemoteException
void open() throws NXException, RemoteException
NXException
RemoteException
void save() throws NXException, RemoteException
NXException
RemoteException
Layout saveAs(String layoutName) throws NXException, RemoteException
layoutName
- Name to save layout asNXException
RemoteException
View workView() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.