|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.objex.panywhere.Symbol
public class Symbol
A Symbol object has any number of LegendItems assigned to it depending on whether or not the Individual who owns the Symbol has custom data and other properties that satisfy the LegendItems' where clauses / conditions. If a LegendItem has been assigned to the Symbol object, the method Symbol.matches(LegendItem) must return true. Any region of an Individual's icon can be interpretted by referring to the Pedigree Legend to determine what traits are being represented by the LegendItems assigned to this Symbol.
LegendItem,
Serialized Form| Constructor Summary | |
|---|---|
Symbol()
Creates a new Symbol object with no color coding schemes |
|
Symbol(java.lang.String ID)
Creates a new Symbol object whose ID property is set to UPN of the Individual who owns the symbol. |
|
| Method Summary | |
|---|---|
void |
addSymbolChangeListener(SymbolChangeListener listener)
Allows users of Symbol Bean to registser for Icon update events. |
void |
assign(LegendItem aItem)
Assigns aItem as one of the legend Items for this Symbol. |
void |
assignLegendItem(LegendItem aItem)
Assigns a LegendItem to this symbol. |
void |
clear()
Unassigns all assigned LegendItems. |
void |
cloneSymbol(LegendItem aItem)
Assigns aItem as one of the legend Items for this Symbol. |
Symbol |
cloneSymbol(java.lang.String ownerid)
Returns a clone of this Symbol object with a different ownerid reference. |
void |
fireSymbolChanged(SymbolChangeEvent evt)
Fires/excutes UpdateIcon events and executes the locally implemented version of method iconUpdated(). |
java.awt.Color |
getCenterCircleColor()
|
java.awt.Color |
getCenterSquareColor()
|
java.lang.String |
getOwnerID()
Getter for property ownerID. |
java.awt.Color |
getQuad1DotColor()
Getter for property quad1DotColor. |
java.awt.Color |
getQuad2DotColor()
Getter for property quad2DotColor. |
java.awt.Color |
getQuad3DotColor()
Getter for property quad3DotColor. |
java.awt.Color |
getQuad4DotColor()
Getter for property quad4DotColor. |
java.awt.Color |
getQuadFourColor()
|
java.awt.Color |
getQuadOneColor()
|
java.awt.Color |
getQuadThreeColor()
|
java.awt.Color |
getQuadTwoColor()
|
boolean |
isHLine()
|
boolean |
isQuad1Dot()
|
boolean |
isQuad2Dot()
|
boolean |
isQuad3Dot()
|
boolean |
isQuad4Dot()
|
boolean |
isQuestionMark()
|
boolean |
isVLine()
|
boolean |
matches(LegendItem aItem)
Determines whether or not a Symbol had the specified LegendItem assigned to it. |
void |
removeSymbolChangeListener(SymbolChangeListener listener)
Allows users of Symbol Bean to de-registser Icon update events. |
void |
setCenterCircleColor(java.awt.Color qColor)
Sets the color value for the centre circle of the symbol. |
void |
setCenterCircleColor(int qColorRGB)
Sets the RGB value for the color for the centre circle of the symbol. |
void |
setCenterSquareColor(java.awt.Color qColor)
Sets the color for the centre square of the symbol. |
void |
setCenterSquareColor(int qColorRGB)
Sets the RGB value for the color for the centre squqre of the symbol. |
void |
setHLine(boolean rhs)
Sets or unsets the vertical line flag for this symbol depending on the value of parameter passed. |
void |
setOwnerID(java.lang.String ownerID)
Setter for property ownerID. |
void |
setQuad1Dot(boolean qColor)
Sets the symbol color for quadrant 1 dot to a default of black or to null depending on value of parameter bColor. |
void |
setQuad1DotColor(java.awt.Color quad1DotColor)
Setter for property quad1DotColor. |
void |
setQuad2Dot(boolean qColor)
Sets the symbol color for quadrant 2 dot to a default of black or to null depending on value of parameter bColor. |
void |
setQuad2DotColor(java.awt.Color quad2DotColor)
Setter for property quad2DotColor. |
void |
setQuad3Dot(boolean qColor)
Sets the symbol color for quadrant 3 dot to a default of black or to null depending on value of parameter bColor. |
void |
setQuad3DotColor(java.awt.Color quad3DotColor)
Setter for property quad3DotColor.Must generate a SymbolChangeEvent with quadrant seven (7) as the source. |
void |
setQuad4Dot(boolean qColor)
Sets the symbol color for quadrant 4 dot to a default of black or to null depending on value of parameter bColor. |
void |
setQuad4DotColor(java.awt.Color quad4DotColor)
Setter for property quad4DotColor. |
void |
setQuadFourColor(java.awt.Color qColor)
Sets the symbol color for quadrant 4. |
void |
setQuadFourColor(int qColorRGB)
Sets the RGB value for the color in Quadrant 4. |
void |
setQuadOneColor(java.awt.Color qColor)
Sets the symbol color for quadrant 1. |
void |
setQuadOneColor(int qColorRGB)
Sets the RGB value for the color in Quadrant 1. |
void |
setQuadThreeColor(java.awt.Color qColor)
Sets the symbol color for quadrant 3. |
void |
setQuadThreeColor(int qColorRGB)
Sets the RGB value for the color in Quadrant 3. |
void |
setQuadTwoColor(java.awt.Color qColor)
Sets the symbol color for quadrant 2. |
void |
setQuadTwoColor(int qColorRGB)
Sets the RGB value for the color in Quadrant 2. |
void |
setQuestionMark(boolean q)
Sets the flag to show question mark symbol to true or false. |
void |
setVLine(boolean vline)
|
void |
unassign(LegendItem aItem)
De-assigns the encoding arising from the object aItem which may have been removed or updated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Symbol()
public Symbol(java.lang.String ID)
ID - The UPN of the owner of this symbol object| Method Detail |
|---|
public boolean isQuestionMark()
isQuestionMark in interface SymbolModelpublic void setQuestionMark(boolean q)
SymbolModel
setQuestionMark in interface SymbolModelq - The value to set (True or False)public boolean isQuad1Dot()
isQuad1Dot in interface SymbolModelpublic void setQuad1Dot(boolean qColor)
SymbolModel
setQuad1Dot in interface SymbolModelqColor - A boolean indicating whether or not to set the quadrant 1 dot to default color.public boolean isQuad2Dot()
isQuad2Dot in interface SymbolModelpublic void setQuad2Dot(boolean qColor)
SymbolModel
setQuad2Dot in interface SymbolModelqColor - A boolean indicating whether or not to set the quadrant 2 dot to default color.public boolean isQuad3Dot()
isQuad3Dot in interface SymbolModelpublic void setQuad3Dot(boolean qColor)
SymbolModel
setQuad3Dot in interface SymbolModelqColor - A boolean indicating whether or not to set the quadrant 3 dot to default color.public boolean isQuad4Dot()
isQuad4Dot in interface SymbolModelpublic void setQuad4Dot(boolean qColor)
SymbolModel
setQuad4Dot in interface SymbolModelqColor - A boolean indicating whether or not to set the quadrant 4 dot to default color.public boolean isVLine()
isVLine in interface SymbolModelpublic void setVLine(boolean vline)
setVLine in interface SymbolModelpublic boolean isHLine()
isHLine in interface SymbolModelpublic void setHLine(boolean rhs)
SymbolModel
setHLine in interface SymbolModelrhs - Boolean indicating whether to set or unset the h/zontal line flagpublic java.awt.Color getQuadOneColor()
getQuadOneColor in interface SymbolModelpublic void setQuadOneColor(java.awt.Color qColor)
SymbolModel
setQuadOneColor in interface SymbolModelqColor - The new color for quadrant 1public void setQuadOneColor(int qColorRGB)
SymbolModel
setQuadOneColor in interface SymbolModelqColorRGB - The new RGB valuepublic java.awt.Color getQuadTwoColor()
getQuadTwoColor in interface SymbolModelpublic void setQuadTwoColor(java.awt.Color qColor)
SymbolModel
setQuadTwoColor in interface SymbolModelqColor - The new color for quadrant 2public void setQuadTwoColor(int qColorRGB)
SymbolModel
setQuadTwoColor in interface SymbolModelqColorRGB - The new RGB valuepublic java.awt.Color getQuadThreeColor()
getQuadThreeColor in interface SymbolModelpublic void setQuadThreeColor(java.awt.Color qColor)
SymbolModel
setQuadThreeColor in interface SymbolModelqColor - The new color for quadrant 3public void setQuadThreeColor(int qColorRGB)
SymbolModel
setQuadThreeColor in interface SymbolModelqColorRGB - The new RGB valuepublic java.awt.Color getQuadFourColor()
getQuadFourColor in interface SymbolModelpublic void setQuadFourColor(java.awt.Color qColor)
SymbolModel
setQuadFourColor in interface SymbolModelqColor - The new color for quadrant 4public void setQuadFourColor(int qColorRGB)
SymbolModel
setQuadFourColor in interface SymbolModelqColorRGB - The new RGB valuepublic java.awt.Color getCenterCircleColor()
getCenterCircleColor in interface SymbolModelpublic void setCenterCircleColor(java.awt.Color qColor)
SymbolModel
setCenterCircleColor in interface SymbolModelqColor - The new color valuepublic void setCenterCircleColor(int qColorRGB)
SymbolModel
setCenterCircleColor in interface SymbolModelqColorRGB - The new RGB valuepublic java.awt.Color getCenterSquareColor()
getCenterSquareColor in interface SymbolModelpublic void setCenterSquareColor(java.awt.Color qColor)
SymbolModel
setCenterSquareColor in interface SymbolModelqColor - The new color valuepublic void setCenterSquareColor(int qColorRGB)
SymbolModel
setCenterSquareColor in interface SymbolModelqColorRGB - The new RGB valuepublic void cloneSymbol(LegendItem aItem)
cloneSymbol in interface SymbolModelaItem - The LegendItem whose encoding is to be copied to this Symbolassign(LegendItem)public boolean matches(LegendItem aItem)
SymbolModel
matches in interface SymbolModelaItem - The LegendItem to compare to
public Symbol cloneSymbol(java.lang.String ownerid)
cloneSymbol in interface SymbolModelownerid - The new ownerid for the cloned Symbol object.public java.lang.String getOwnerID()
getOwnerID in interface SymbolModelpublic void setOwnerID(java.lang.String ownerID)
setOwnerID in interface SymbolModelownerID - New value of property ownerID.public void addSymbolChangeListener(SymbolChangeListener listener)
public void removeSymbolChangeListener(SymbolChangeListener listener)
public void fireSymbolChanged(SymbolChangeEvent evt)
evt - The UpdateIcon event generated when any one of the quadrant's colors have changed / been updatedpublic java.awt.Color getQuad1DotColor()
getQuad1DotColor in interface SymbolModelpublic void setQuad1DotColor(java.awt.Color quad1DotColor)
SymbolModel
setQuad1DotColor in interface SymbolModelquad1DotColor - New value of property quad1DotColor.public java.awt.Color getQuad2DotColor()
getQuad2DotColor in interface SymbolModelpublic void setQuad2DotColor(java.awt.Color quad2DotColor)
SymbolModel
setQuad2DotColor in interface SymbolModelquad2DotColor - New value of property quad2DotColor.public java.awt.Color getQuad3DotColor()
getQuad3DotColor in interface SymbolModelpublic void setQuad3DotColor(java.awt.Color quad3DotColor)
SymbolModel
setQuad3DotColor in interface SymbolModelquad3DotColor - New value of property quad3DotColor.public java.awt.Color getQuad4DotColor()
getQuad4DotColor in interface SymbolModelpublic void setQuad4DotColor(java.awt.Color quad4DotColor)
SymbolModel
setQuad4DotColor in interface SymbolModelquad4DotColor - New value of property quad4DotColor.public void assignLegendItem(LegendItem aItem)
public void clear()
public void unassign(LegendItem aItem)
aItem - The legend item whose encoding has to be unassigned from this Symbol objectpublic void assign(LegendItem aItem)
aItem - The LegendItem whose encoding has to be copied to the Symbol
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||