![]() |
Bridges-Java-3.0.1
3.0.1
Bridges(JavaAPI)
|
This class can be used to create arrays with generic types as follows: ArrayElement<E>[] myArray = (ArrayElement<E>[]) new ArrayElement[10]; Where E is: Tweet, Actor, Movie, Integer, String or other generic type
E | User type |
Public Member Functions | |
ArrayElement (String label, E type) | |
String | getDataStructType () |
![]() | |
String | getDataStructType () |
Get the Element type name. More... | |
Element () | |
Element constructor. More... | |
Element (E val) | |
the constructor of Element More... | |
Element (String label, E val) | |
Constructor of Element. More... | |
Element (Element< E > original) | |
performing deep copy of an element when needed More... | |
String | getIdentifier () |
void | setSize (double sz) |
void | setColor (Color col) |
Color | getColor () |
void | setOpacity (float opacity) |
double | getOpacity () |
void | setShape (String aShape) |
ElementVisualizer | getVisualizer () |
void | setVisualizer (ElementVisualizer visualizer) |
LinkVisualizer | getLinkVisualizer (Element< E > el) |
Returns the Element's link visualizer object. More... | |
String | getClassName () |
int | compareTo (Element< E > e1) |
boolean | equals (Element< E > e1) |
String | getElementRepresentation () |
String | getDataStructureRepresentation () |
String | getLinkRepresentation (LinkVisualizer lv, String src, String dest) |
String | getLabel () |
void | setLabel (String label) |
E | getValue () |
void | setValue (E value) |
double | getSize () |
void | setColor (String col) |
Change the element color. More... | |
String | getShape () |
void | setLocation (double locX, double locY) |
Set the location attributes of an element. More... | |
double | getLocationX () |
double | getLocationY () |
String | toString () |
![]() | |
abstract String | getDataStructType () |
abstract String | getDataStructureRepresentation () |
Static Public Attributes | |
static int | index |
Additional Inherited Members | |
![]() | |
void | setLinkVisualizer (Element< E > el) |
Sets the link from this element to a new incoming element. More... | |
void | removeLinkVisualizer (Element< E > el) |
Removes the link from this element to a new incoming element. More... | |
void | validateVal (E value) |
![]() | |
String | QUOTE = "\"" |
bridges.base.ArrayElement< E >.ArrayElement | ( | String | label, |
E | type | ||
) |
Construct an array labeled "label" and holding elements of "type".
label | the label of ArrayElement that shows up on the Bridges visualization |
type | the type of Element this array should be holding |
String bridges.base.ArrayElement< E >.getDataStructType | ( | ) |
This method gets the data structure type
|
static |