public class IconParameters
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
static boolean |
makeIconExport(Export pp,
EditingPreferences ep,
int index,
double xPos,
double yPos,
double xBBPos,
double yBBPos,
Cell np,
int textRotation)
Helper method to create an export in an icon.
|
static boolean |
makeIconExportBase(java.lang.String name,
boolean isBus,
Export sample,
EditingPreferences ep,
int index,
double xPos,
double yPos,
double xBBPos,
double yBBPos,
Cell np,
int textRotation)
Helper method to create an export in an icon.
|
Cell |
makeIconForCell(Cell curCell,
EditingPreferences ep)
Method to create an icon for a cell.
|
static IconParameters |
makeInstance(boolean userDefaults) |
public static IconParameters makeInstance(boolean userDefaults)
public Cell makeIconForCell(Cell curCell, EditingPreferences ep) throws JobException
curCell
- the cell to turn into an icon.ep
- EditingPreferences with default sizes and text descriptors.JobException
public static boolean makeIconExport(Export pp, EditingPreferences ep, int index, double xPos, double yPos, double xBBPos, double yBBPos, Cell np, int textRotation)
pp
- the Export to build.ep
- EditingPreferences with default sizes and text descriptors.index
- the side (0: left, 1: right, 2: top, 3: bottom).xPos
- the export locationyPos
- the export locationxBBPos
- the central box locationyBBPos
- the central box location.np
- the cell in which to create the export.textRotation
- public static boolean makeIconExportBase(java.lang.String name, boolean isBus, Export sample, EditingPreferences ep, int index, double xPos, double yPos, double xBBPos, double yBBPos, Cell np, int textRotation)
name
- the name of the Export to build.ep
- EditingPreferences with default sizes and text descriptors.index
- the side (0: left, 1: right, 2: top, 3: bottom).xPos
- the export locationyPos
- the export locationxBBPos
- the central box locationyBBPos
- the central box location.np
- the cell in which to create the export.textRotation
-