References > Creo Schematics 4.0 API Guide > The Component Package > Class Fibre
  
Class Fibre
This concrete class represents a component, such as a wire or pipe, that can be routed.
public class Fibre
extends Component
Hierarchical Diagram
Direct Known Subclasses
None
Constructor
public Fibre()
Methods
getDiagramType
Returns the diagram type of the fiber.
public int getDiagramType()
Throws: RSDException
getPorts
Returns an iterator of arrays. Each entry in the iterator is a four-element array containing port, index, varindex, and the sys_id of the pseudo-prototype.
public Iterator getPorts()
Throws: RSDException
getPortsVector
Returns a vector of all ports that belong to the fiber and are placed at the fiber ends.
public Vector getPortsVector()
Throws: RSDException
getRoutePorts
Returns an iterator of the ports that belong to the fiber and are placed at the fiber ends in the specified direction.
public getRoutePorts (String direction)
Where:
direction—The direction specified for the ports placed at the fiber ends. The value of direction is null, forward, or reverse. If the direction is null, getRoutePorts () takes forward as the specified direction. If the fiber is bidirectional, getRoutePorts() returns an iterator of all ports that belong to the fiber.
Throws: RSDException
isDirectional
Returns True if the fiber is directional.
public boolean isDirectional
Throws: RSDException
setDirectional
Sets the directional status of a fiber.
public void setDirectional (booleandirectional)
Throws: RSDException
reverseDirection
Reverses the direction of a fiber.
public reverseDirection
Throws: RSDException
fixFibreDirection
Fixes the direction of a fiber.
public fixFibreDirection
getSegments
Returns a set of Segment objects, each representing a segment of this fiber.
public Set getSegments
Throws: RSDException
editAlignLabels
Aligns the selected fiber label to the selected construction line.
public static void editAlignLabels ()
Methods Inherited
The methods inherited from other classes are:
Class
Methods Inherited
rsdesigner.component.Component
getConnectedPorts, getPorts, inPrototypeParent
rsdesigner.component.Artifact
getContainer, getName, getShapes, getTopLevelContainer
rsdesigner.design.PropertySet
getIntegerProperty, getProperties, getProperty, getRealProperty, getStringProperty, getType
java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait