|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcarmetal.objects.ConstructionObject
carmetal.objects.PrimitiveCircleObject
carmetal.objects.FixedCircleObject
public class FixedCircleObject
| Field Summary |
|---|
| Fields inherited from class carmetal.objects.PrimitiveCircleObject |
|---|
R, X, Y |
| Fields inherited from class carmetal.objects.ConstructionObject |
|---|
Back, Bold, Break, BreakHide, C, Cn, ColorIndex, ColorType, Conditionals, Count, DescriptionState, DisplaysText, DL, Flag, FormulaState, gotNCount, HasZ, Hidden, HideBreak, inConstruction, Indicated, INVISIBLE, IsDrawn, JobTarget, Keep, KeepClose, LabelSelected, Large, MainParameter, Name, NCount, NeedsRecompute, NORMAL, Obtuse, Parameter, RekFlag, RekValidating, Scratch, Selectable, Selected, ShowIndicatedName, ShowName, ShowValue, SizeState, Solid, SpecialColor, SpecialParameter, StrongSelected, SuperHidden, Target, Text, THICK, THIN, Tracked, Translation, TX1, TX2, TY1, TY2, Unit, Valid, Value, VRek, XcOffset, YcOffset |
| Constructor Summary | |
|---|---|
FixedCircleObject(carmetal.construction.Construction c,
PointObject p1,
double x,
double y)
|
|
| Method Summary | |
|---|---|
boolean |
canFix()
|
Enumeration |
depending()
A circle depends on its midpoint at least. |
void |
dragTo(double x,
double y)
|
boolean |
fixed()
|
boolean |
fixedByNumber()
|
double |
getOldX()
|
double |
getOldY()
|
String |
getStringLength()
|
String |
getTag()
|
double |
getValue()
Get the value of an object or throw an exception (e.g. |
void |
init(carmetal.construction.Construction c,
double x,
double y)
|
boolean |
isDragable()
|
boolean |
isEditAborted()
|
boolean |
isFixed()
|
boolean |
isValidFix()
|
void |
move(double x,
double y)
|
boolean |
moveable()
|
boolean |
nearto(int c,
int r,
carmetal.rene.zirkel.ZirkelCanvas zc)
Test, if this object is chosen with coordinates x,y |
void |
printArgs(carmetal.rene.util.xml.XmlWriter xml)
|
void |
resetSimulationValue()
Reset the old value. |
void |
round()
|
void |
setDragable(boolean f)
|
void |
setFixed(String s)
|
void |
setSimulationValue(double x)
Set the simulation value, remember the old value. |
void |
snap(carmetal.rene.zirkel.ZirkelCanvas zc)
|
void |
startDrag(double x,
double y)
|
void |
translate()
Override in children! This translates the mother items. |
void |
updateText()
|
void |
validate()
|
| Methods inherited from class carmetal.objects.PrimitiveCircleObject |
|---|
addDep, canInteresectWith, clearCircleDep, clearRange, computeA1A2, contains, containsInside, copy, equals, getA1, getA2, getArc, getDisplayValue, getDistance, getEnd, getEquation, getN, getP1, getR, getStart, getX, getY, hasRange, intersect, isFilled, isFilledForSelect, isPartial, keepInside, locallyLike, maybeTransparent, nearto, onlynearto, paint, project, project, repulse, secondaryParams, setArc, setDefaults, setFilled, setMR, setPartial, setRange, setRange, setTargetDefaults, toggleHidden |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FixedCircleObject(carmetal.construction.Construction c,
PointObject p1,
double x,
double y)
| Method Detail |
|---|
public void init(carmetal.construction.Construction c,
double x,
double y)
public String getTag()
getTag in class PrimitiveCircleObjectpublic void updateText()
updateText in class ConstructionObjectpublic void validate()
validate in class ConstructionObjectpublic void printArgs(carmetal.rene.util.xml.XmlWriter xml)
printArgs in class PrimitiveCircleObjectpublic boolean canFix()
canFix in class ConstructionObjectpublic boolean fixed()
fixed in class ConstructionObjectpublic void setFixed(String s)
setFixed in class ConstructionObjectpublic void round()
round in class ConstructionObject
public boolean nearto(int c,
int r,
carmetal.rene.zirkel.ZirkelCanvas zc)
ConstructionObject
nearto in class PrimitiveCircleObjectpublic boolean isValidFix()
public void translate()
ConstructionObject
translate in class PrimitiveCircleObjectpublic String getStringLength()
getStringLength in class ConstructionObject
public double getValue()
throws carmetal.construction.ConstructionException
ConstructionObject
getValue in class ConstructionObjectcarmetal.construction.ConstructionExceptionpublic Enumeration depending()
PrimitiveCircleObject
depending in class PrimitiveCircleObject
public void move(double x,
double y)
move in interface MoveableObjectmove in class ConstructionObjectpublic boolean moveable()
moveable in interface MoveableObjectpublic boolean isFixed()
isFixed in class ConstructionObjectpublic boolean isEditAborted()
public boolean isDragable()
isDragable in class ConstructionObjectpublic void setDragable(boolean f)
setDragable in class ConstructionObjectpublic boolean fixedByNumber()
public void setSimulationValue(double x)
setSimulationValue in interface SimulationObjectpublic void resetSimulationValue()
resetSimulationValue in interface SimulationObject
public void startDrag(double x,
double y)
startDrag in interface MoveableObject
public void dragTo(double x,
double y)
dragTo in interface MoveableObjectpublic double getOldX()
getOldX in interface MoveableObjectpublic double getOldY()
getOldY in interface MoveableObjectpublic void snap(carmetal.rene.zirkel.ZirkelCanvas zc)
snap in class ConstructionObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||