Class PipelineBlock
- java.lang.Object
- 
- com.inductiveautomation.ignition.designer.blockandconnector.model.impl.AbstractBlock
- 
- com.inductiveautomation.ignition.alarming.designer.workspace.PropertySetBlock
- 
- com.inductiveautomation.ignition.alarming.designer.workspace.PipelineBlock
 
 
 
- 
- All Implemented Interfaces:
- Block
 
 public class PipelineBlock extends PropertySetBlock 
- 
- 
Field SummaryFields Modifier and Type Field Description static Property<java.lang.Boolean>MIRRORED- 
Fields inherited from class com.inductiveautomation.ignition.alarming.designer.workspace.PropertySetBlockLOCATION
 - 
Fields inherited from class com.inductiveautomation.ignition.designer.blockandconnector.model.impl.AbstractBlocklisteners
 
- 
 - 
Constructor SummaryConstructors Constructor Description PipelineBlock(ObservablePropertySet backingSet, PipelineBlockPrototype prototype)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Blockcopy(java.util.Map<java.util.UUID,java.util.UUID> newIds)Copy the settings of this block into a new block instance.java.util.Collection<AnchorPoint>getAnchorPoints()The valid origins and terminus points for connectors coming into or out of this blockObservablePropertySetgetBackingSet()voidgetConnections(PipelineBlockModel model, java.util.List<Connection> connections)AnchorPointgetDefaultDropAnchor(AnchorPoint oppositeAnchor)When a connector is being dropped on this block, what anchor point should it attach to if it isn't specifically over an anchor's hotspot (may return null)java.util.UUIDgetId()Each block in a model is identified by a UUIDjava.awt.PointgetLocation()The upper left-most point of the block in the diagram.Property<java.util.UUID>getOutput(java.lang.Object anchorId)PipelineBlockPrototypegetPrototype()voidinitUI(BlockComponent parent)Used to initialize the display of a block.booleanisMirrored()voidsetLocation(java.awt.Point newLocation)Don't forget to fire a change so that the UI knows the block has movedvoidsetMirrored(boolean mirrored)- 
Methods inherited from class com.inductiveautomation.ignition.designer.blockandconnector.model.impl.AbstractBlockaddBlockListener, equals, fireBlockMoved, fireUIChanged, hashCode, removeBlockListener
 
- 
 
- 
- 
- 
Field Detail- 
MIRROREDpublic static final Property<java.lang.Boolean> MIRRORED 
 
- 
 - 
Constructor Detail- 
PipelineBlockpublic PipelineBlock(ObservablePropertySet backingSet, PipelineBlockPrototype prototype) 
 
- 
 - 
Method Detail- 
isMirroredpublic boolean isMirrored() 
 - 
setMirroredpublic void setMirrored(boolean mirrored) 
 - 
getBackingSetpublic ObservablePropertySet getBackingSet() - Specified by:
- getBackingSetin class- PropertySetBlock
 
 - 
getOutputpublic Property<java.util.UUID> getOutput(java.lang.Object anchorId) - Specified by:
- getOutputin class- PropertySetBlock
 
 - 
getConnectionspublic void getConnections(PipelineBlockModel model, java.util.List<Connection> connections) - Specified by:
- getConnectionsin class- PropertySetBlock
 
 - 
getPrototypepublic PipelineBlockPrototype getPrototype() 
 - 
getIdpublic java.util.UUID getId() Description copied from interface:BlockEach block in a model is identified by a UUID
 - 
getLocationpublic java.awt.Point getLocation() Description copied from interface:BlockThe upper left-most point of the block in the diagram. The size of the block is determined by the block's ui
 - 
setLocationpublic void setLocation(java.awt.Point newLocation) Description copied from interface:BlockDon't forget to fire a change so that the UI knows the block has moved
 - 
copypublic Block copy(java.util.Map<java.util.UUID,java.util.UUID> newIds) Description copied from interface:BlockCopy the settings of this block into a new block instance. Any outgoing connections originating at this block should also be copied. If the destination of those connections is in the id set, it should point to the new block.- Parameters:
- newIds- a map of all new ids for copied blocks (including this one). Should be used to point outgoing connections to blocks in the copied set to their new ids.
 
 - 
getAnchorPointspublic java.util.Collection<AnchorPoint> getAnchorPoints() Description copied from interface:BlockThe valid origins and terminus points for connectors coming into or out of this block
 - 
getDefaultDropAnchorpublic AnchorPoint getDefaultDropAnchor(AnchorPoint oppositeAnchor) Description copied from interface:BlockWhen a connector is being dropped on this block, what anchor point should it attach to if it isn't specifically over an anchor's hotspot (may return null)- Parameters:
- oppositeAnchor- The anchor point that would be the opposite anchor on the connector being hovered over this block.
 
 - 
initUIpublic void initUI(BlockComponent parent) Description copied from interface:BlockUsed to initialize the display of a block. The block component is just a JPanel, so you can add whatever you want to it and set its layout manager. The block's size will be the preferred size of the contents that you add.
 
- 
 
-