public abstract class AbstractHead extends AbstractModelObject implements Head
PropertySheetHolder.PropertySheet| Modifier and Type | Field and Description |
|---|---|
protected IdentifiableList<Actuator> |
actuators |
protected IdentifiableList<Camera> |
cameras |
protected java.lang.String |
id |
protected Machine |
machine |
protected Location |
maxLocation |
protected Location |
minLocation |
protected java.lang.String |
name |
protected IdentifiableList<Nozzle> |
nozzles |
protected Location |
parkLocation |
protected IdentifiableList<PasteDispenser> |
pasteDispensers |
protected boolean |
softLimitsEnabled |
propertyChangeSupport| Constructor and Description |
|---|
AbstractHead() |
| Modifier and Type | Method and Description |
|---|---|
void |
addActuator(Actuator actuator) |
void |
addCamera(Camera camera) |
void |
addNozzle(Nozzle nozzle) |
Actuator |
getActuator(java.lang.String id)
Get the Actuator attached to this Head that has the specified id.
|
Actuator |
getActuatorByName(java.lang.String name) |
java.util.List<Actuator> |
getActuators()
Get a list of Actuators that are attached to this Head.
|
Camera |
getCamera(java.lang.String id)
Get the Camera attached to this Head that has the specified id.
|
java.util.List<Camera> |
getCameras()
Get a list of Cameras that are attached to this Head.
|
Camera |
getDefaultCamera() |
Nozzle |
getDefaultNozzle() |
PasteDispenser |
getDefaultPasteDispenser() |
java.lang.String |
getId() |
Machine |
getMachine() |
Location |
getMaxLocation() |
double |
getMaxPartSpeed()
Returns the maximum speed percentage allowed by any parts being carried
by the Nozzles on the Head.
|
Location |
getMinLocation() |
java.lang.String |
getName() |
Nozzle |
getNozzle(java.lang.String id)
Get the Nozzle attached to this Head that has the specified id.
|
java.util.List<Nozzle> |
getNozzles()
Get a list of Nozzles that are attached to this head.
|
Location |
getParkLocation() |
PasteDispenser |
getPasteDispenser(java.lang.String id) |
java.util.List<PasteDispenser> |
getPasteDispensers() |
javax.swing.Icon |
getPropertySheetHolderIcon() |
boolean |
isCarryingPart()
Returns true if any nozzle on the Head is currently carrying a part.
|
boolean |
isSoftLimitsEnabled() |
void |
moveToSafeZ() |
void |
moveToSafeZ(double speed) |
void |
removeActuator(Actuator actuator) |
void |
removeCamera(Camera camera) |
void |
removeNozzle(Nozzle nozzle) |
void |
setMachine(Machine machine) |
void |
setMaxLocation(Location maxLocation) |
void |
setMinLocation(Location minLocation) |
void |
setName(java.lang.String name) |
void |
setParkLocation(Location parkLocation) |
void |
setSoftLimitsEnabled(boolean softLimitsEnabled) |
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigurationWizardgetChildPropertySheetHolders, getPropertySheetHolderActions, getPropertySheetHolderTitle, getPropertySheetsprotected java.lang.String id
protected java.lang.String name
protected IdentifiableList<Nozzle> nozzles
protected IdentifiableList<Actuator> actuators
protected IdentifiableList<Camera> cameras
protected IdentifiableList<PasteDispenser> pasteDispensers
protected Location parkLocation
protected boolean softLimitsEnabled
protected Location minLocation
protected Location maxLocation
protected Machine machine
public java.lang.String getId()
getId in interface Identifiablepublic java.util.List<Nozzle> getNozzles()
HeadgetNozzles in interface Headpublic Nozzle getNozzle(java.lang.String id)
Headpublic java.util.List<Actuator> getActuators()
HeadgetActuators in interface Headpublic Actuator getActuator(java.lang.String id)
HeadgetActuator in interface Headpublic Actuator getActuatorByName(java.lang.String name)
getActuatorByName in interface Headpublic java.util.List<Camera> getCameras()
HeadgetCameras in interface Headpublic Camera getCamera(java.lang.String id)
Headpublic void addCamera(Camera camera) throws java.lang.Exception
public void removeCamera(Camera camera)
removeCamera in interface Headpublic void addActuator(Actuator actuator) throws java.lang.Exception
addActuator in interface Headjava.lang.Exceptionpublic void removeActuator(Actuator actuator)
removeActuator in interface Headpublic void addNozzle(Nozzle nozzle) throws java.lang.Exception
public void removeNozzle(Nozzle nozzle)
removeNozzle in interface Headpublic void moveToSafeZ(double speed)
throws java.lang.Exception
moveToSafeZ in interface Headjava.lang.Exceptionpublic java.util.List<PasteDispenser> getPasteDispensers()
getPasteDispensers in interface Headpublic PasteDispenser getPasteDispenser(java.lang.String id)
getPasteDispenser in interface Headpublic javax.swing.Icon getPropertySheetHolderIcon()
getPropertySheetHolderIcon in interface PropertySheetHolderpublic Camera getDefaultCamera() throws java.lang.Exception
getDefaultCamera in interface Headjava.lang.Exceptionpublic Nozzle getDefaultNozzle() throws java.lang.Exception
getDefaultNozzle in interface Headjava.lang.Exceptionpublic PasteDispenser getDefaultPasteDispenser() throws java.lang.Exception
getDefaultPasteDispenser in interface Headjava.lang.Exceptionpublic Machine getMachine()
getMachine in interface Headpublic void setMachine(Machine machine)
setMachine in interface Headpublic void moveToSafeZ()
throws java.lang.Exception
moveToSafeZ in interface Headjava.lang.Exceptionpublic Location getParkLocation()
getParkLocation in interface Headpublic void setParkLocation(Location parkLocation)
public boolean isCarryingPart()
HeadisCarryingPart in interface Headpublic double getMaxPartSpeed()
HeadgetMaxPartSpeed in interface Headpublic Location getMinLocation()
public void setMinLocation(Location minLocation)
public Location getMaxLocation()
public void setMaxLocation(Location maxLocation)
public boolean isSoftLimitsEnabled()
public void setSoftLimitsEnabled(boolean softLimitsEnabled)