All Packages Class Hierarchy This Package Previous Next Index
Class jschem.objectData
java.lang.Object
|
+----jschem.objectData
- public class objectData
- extends Object
Setup the data for any electrical element.
-
border
- the boundary of the element
-
circle
- circles in a rectangle structure
-
circlecount
- number of circles for the shape
-
line
- lines in a rectangle structure
-
linecount
- number of lines for the shape
-
paramcount
- defines the element parameter count
-
paramDef
- defines the element parameter name for SPICE
-
paramName
- defines the element parameter names, starts with '*' if it is optional
-
paramPredef
- defines the element parameter predefined values when starting
with a '*' or a max/min value when starting with '!' or null
if nothing is given (several values separated with blanks)
-
paramUnit
- defines the element parameter units
-
paramValue
- defines the element parameter values
-
pincount
- number pins of the element
-
pinname
- pin internal names
-
pinnamex
- pin name positions
-
pinnamey
- pin name positions
-
pinx
- pin positions
-
piny
- pin positions
-
valx
- position of the parameter value label
-
valy
- position of the parameter value label
-
objectData(int, int, int, int)
- initializes datasets for lines, circles, pins and parameters
-
rotate90()
- Rotate all coordinates by 90 degrees.
-
selectionBox(int, int, int)
- Return a drawable rechtangle with given grid and position
border
public Rectangle border
- the boundary of the element
linecount
public int linecount
- number of lines for the shape
line
public Rectangle line[]
- lines in a rectangle structure
circlecount
public int circlecount
- number of circles for the shape
circle
public Rectangle circle[]
- circles in a rectangle structure
pincount
public int pincount
- number pins of the element
pinx
public int pinx[]
- pin positions
piny
public int piny[]
- pin positions
pinname
public String pinname[]
- pin internal names
pinnamex
public int pinnamex[]
- pin name positions
pinnamey
public int pinnamey[]
- pin name positions
paramcount
public int paramcount
- defines the element parameter count
paramName
public String paramName[]
- defines the element parameter names, starts with '*' if it is optional
paramValue
public String paramValue[]
- defines the element parameter values
paramDef
public String paramDef[]
- defines the element parameter name for SPICE
paramUnit
public String paramUnit[]
- defines the element parameter units
paramPredef
public String paramPredef[]
- defines the element parameter predefined values when starting
with a '*' or a max/min value when starting with '!' or null
if nothing is given (several values separated with blanks)
valx
public int valx
- position of the parameter value label
valy
public int valy
- position of the parameter value label
objectData
public objectData(int lines,
int circ,
int pins,
int params)
- initializes datasets for lines, circles, pins and parameters
- Parameters:
- lines - amount of lines
- lines - amount of circles
- lines - amount of pins
- lines - amount of parameters
rotate90
public void rotate90()
- Rotate all coordinates by 90 degrees.
selectionBox
public Rectangle selectionBox(int x,
int y,
int grid)
- Return a drawable rechtangle with given grid and position
All Packages Class Hierarchy This Package Previous Next Index