|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.apps.Staker.domain.StakingSheetWeighting
public class StakingSheetWeighting
Weight values used to compute section and page breaks in a staking sheet.
| Constructor Summary | |
|---|---|
StakingSheetWeighting()
Create a new StakingSheetWeighting. |
|
| Method Summary | |
|---|---|
int |
calculateWeight(StakingSheetLocation location)
|
int |
getCommentWeight()
Weight value assigned to each unit comment. |
int |
getLoadLimit()
Maximum total weight allowed for a section. |
int |
getLocationWeight()
Weight value assigned to each location. |
int |
getUnitWeight()
Weight value assigned to each unit aggregate at a location. |
boolean |
isOverWeight(int currentWeight,
StakingSheetLocation location)
|
void |
setCommentWeight(int newCommentWeight)
Weight value assigned to each unit comment. |
void |
setLoadLimit(int newLimit)
|
void |
setLocationWeight(int newLocationWeight)
Weight value assigned to each location. |
void |
setUnitWeight(int newUnitWeight)
Weight value assigned to each unit aggregate at a location. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StakingSheetWeighting()
| Method Detail |
|---|
public int calculateWeight(StakingSheetLocation location)
public boolean isOverWeight(int currentWeight,
StakingSheetLocation location)
public int getCommentWeight()
public void setCommentWeight(int newCommentWeight)
public int getLocationWeight()
public void setLocationWeight(int newLocationWeight)
public int getUnitWeight()
public void setUnitWeight(int newUnitWeight)
public int getLoadLimit()
public void setLoadLimit(int newLimit)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||