|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.job.model.JobDataComponent
com.partnersoft.job.model.LocationUnit
public class LocationUnit
| Constructor Summary | |
|---|---|
LocationUnit()
|
|
| Method Summary | |
|---|---|
void |
generateID()
Subclass homework. |
Alternative |
getAlternative()
|
Chain |
getChain()
|
Job |
getJob()
|
Location |
getLocation()
|
int |
getOffsetX()
Gets the value of offsetX |
int |
getOffsetY()
Gets the value of offsetY |
int |
getQuantity()
Gets the value of quantity |
double |
getRotation()
Gets the value of rotation |
Cog |
getState()
Subclasses extend this by calling super.getState() and then adding their own state to the result. |
java.lang.String |
getUnit()
Gets the value of unit |
boolean |
isHide()
Gets the value of hide |
void |
remove()
Does nothing. |
void |
setHide(boolean argHide)
Sets the value of hide |
void |
setLocation(Location newLocation)
|
void |
setOffsetX(int argOffsetX)
Sets the value of offsetX |
void |
setOffsetY(int argOffsetY)
Sets the value of offsetY |
void |
setQuantity(int argQuantity)
Sets the value of quantity |
void |
setRotation(double argRotation)
Sets the value of rotation |
void |
setState(Cog state)
Subclasses should extend this by calling super.setState() and then setting their own state from the input. |
void |
setUnit(java.lang.String argUnit)
Sets the value of unit |
| Methods inherited from class com.partnersoft.job.model.JobDataComponent |
|---|
copy, copyStateFrom, generateGuid, generateStandardIDs, getData, getGuid, getID, getName, getType, setData, setGuid, setID, setName, setType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocationUnit()
| Method Detail |
|---|
public void remove()
remove in class JobDataComponentpublic Cog getState()
JobDataComponent
getState in interface CoggablegetState in class JobDataComponentpublic void setState(Cog state)
JobDataComponent
setState in interface CoggablesetState in class JobDataComponentpublic void generateID()
JobDataComponent
generateID in class JobDataComponentpublic Job getJob()
public Alternative getAlternative()
public Chain getChain()
public Location getLocation()
public void setLocation(Location newLocation)
public java.lang.String getUnit()
public void setUnit(java.lang.String argUnit)
argUnit - Value to assign to this.unitpublic int getQuantity()
public void setQuantity(int argQuantity)
argQuantity - Value to assign to this.quantitypublic int getOffsetX()
public void setOffsetX(int argOffsetX)
argOffsetX - Value to assign to this.offsetXpublic int getOffsetY()
public void setOffsetY(int argOffsetY)
argOffsetY - Value to assign to this.offsetYpublic double getRotation()
public void setRotation(double argRotation)
argRotation - Value to assign to this.rotationpublic boolean isHide()
public void setHide(boolean argHide)
argHide - Value to assign to this.hide
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||