|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ohrasys.cad.gds.dao.Element
com.ohrasys.cad.gds.dao.ReferenceElement
com.ohrasys.cad.gds.dao.ArrayReference
public class ArrayReference
Array reference data access object
| Field Summary |
|---|
| Fields inherited from class com.ohrasys.cad.gds.dao.Element |
|---|
i18n |
| Constructor Summary | |
|---|---|
ArrayReference()
Creates a new ArrayReference object. |
|
ArrayReference(boolean external,
boolean template,
int group,
java.lang.String name,
Transform transform,
int columns,
int rows,
java.awt.Point[] points)
Creates a new ArrayReference object. |
|
ArrayReference(java.lang.String name,
int columns,
int rows,
java.awt.Point[] points)
Creates a new ArrayReference object. |
|
| Method Summary | |
|---|---|
int |
getColumns()
Getter for property columns. |
java.lang.String |
getInfo()
Returns a textual representation of the array information |
int |
getRows()
Getter for property rows. |
void |
setColumns(int columns)
Setter for property columns. |
void |
setRows(int rows)
Setter for property rows. |
java.lang.String |
toString()
Returns a string representation of the array |
| Methods inherited from class com.ohrasys.cad.gds.dao.ReferenceElement |
|---|
getName, getTransform, setName, setTransform |
| Methods inherited from class com.ohrasys.cad.gds.dao.Element |
|---|
getGroup, getPoints, getProperties, isExternal, isTemplate, setExternal, setGroup, setPoints, setProperties, setTemplate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ArrayReference()
public ArrayReference(java.lang.String name,
int columns,
int rows,
java.awt.Point[] points)
name - The name of the structure being arrayedcolumns - The number of columnsrows - The number of rowspoints - The points defining the array boundary
public ArrayReference(boolean external,
boolean template,
int group,
java.lang.String name,
Transform transform,
int columns,
int rows,
java.awt.Point[] points)
external - The structure reference is external datatemplate - The structure reference is template datagroup - The object group the array belongs toname - The name of the structure being arrayedtransform - The transform associated with the arraycolumns - The number of columnsrows - The number of rowspoints - The points defining the array boundary| Method Detail |
|---|
public int getColumns()
public java.lang.String getInfo()
getInfo in interface InfoProvidergetInfo in class ReferenceElementpublic int getRows()
public void setColumns(int columns)
columns - New value of property columns.public void setRows(int rows)
rows - New value of property rows.public java.lang.String toString()
toString in class ReferenceElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||