Interface IHighlightable
-
- All Known Implementing Classes:
EntityFigure
,EntityFigurePart
,ErdDataPartLabel
public interface IHighlightable
Instances of this class can highlight their parts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
highlight(String text)
Highlights associated with given text part.void
reset(String text)
Resets associated with given text part.void
resetAll()
Resets all parts.
-
-
-
Method Detail
-
highlight
void highlight(String text)
Highlights associated with given text part.
Example:EntityFigure
hasEntityFigurePart
child,EntityFigurePart
has label child with textDocument.MyDocument
. If given item is"Document.MyDocument"
, it can be associated with this label and label should be highlighted(for example, change color).- Parameters:
text
- - some text to associate with figures part. Can't benull
.
-
reset
void reset(String text)
Resets associated with given text part.
Example:EntityFigure
hasEntityFigurePart
child,EntityFigurePart
has label child with textDocument.MyDocument
. If given item is"Document.MyDocument"
, it can be associated with this label and label should be reseted(for example, color changed to default).- Parameters:
text
- - some text to associate with figures part. Can't benull
.
-
resetAll
void resetAll()
Resets all parts.
-
-