|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.mff.mirovsky.trees.NGTreeProperties
public class NGTreeProperties
A class that keeps information how to display trees.
Field Summary | |
---|---|
static int |
COLOR_SCHEME_BLACK_AND_WHITE
a color scheme for painting trees - a black and white scheme for printing on black and white printers |
static int |
COLOR_SCHEME_DEFAULT
a color scheme for painting trees - a default colored scheme |
static int |
DIRECTION_LEFT_RIGHT
a left-right direction for ordering nodes (e.g. for Czech, English) |
static int |
DIRECTION_RIGHT_LEFT
a right-left direction for ordering nodes (e.g. for Arabic) |
static int |
STROKE_DASHED
a type of stroke for references - a dashed line |
static int |
STROKE_DOT_AND_DASHED
a type of stroke for references - a dotted and dashed line |
static int |
STROKE_DOTTED
a type of stroke for references - a dotted line |
static int |
STROKE_LINE
a type of stroke for references - a solid line |
Constructor Summary | |
---|---|
NGTreeProperties()
Creates a new object for tree properties. |
Method Summary | |
---|---|
int |
getCodingInPrinting()
|
java.awt.Color |
getColorBackground()
Returns the current value of background color |
java.awt.Color |
getColorCircle()
Returns the current value of circle color |
java.awt.Color |
getColorCircleHidden()
Returns the current value of circle color of a hidden node |
java.awt.Color |
getColorCircleHiddenChosen()
Returns the current value of circle color of a hidden selected node |
java.awt.Color |
getColorCircleHiddenMatching()
Returns the current value of circle color of a hidden node matching with a query |
java.awt.Color |
getColorCircleChosen()
Returns the current value of circle color of a selected node |
java.awt.Color |
getColorCircleMatching()
Returns the current value of circle color of a node matching with a query |
java.awt.Color |
getColorCircleMultiple()
Returns the current value of the multiple circle color |
java.awt.Color |
getColorCircleMultipleHidden()
Returns the current value of the multiple circle color of a hidden node |
java.awt.Color |
getColorCircleMultipleHiddenChosen()
Returns the current value of the multiple circle color of a chosen hidden node |
java.awt.Color |
getColorCircleMultipleHiddenMatching()
Returns the current value of the multiple circle color of a hidden node matching with a query |
java.awt.Color |
getColorCircleMultipleChosen()
Returns the current value of the multiple circle color of a selected node |
java.awt.Color |
getColorCircleMultipleMatching()
Returns the current value of the multiple circle color of a node matching with a query |
java.awt.Color |
getColorEdge()
Returns the current value of edge color |
java.awt.Color |
getColorEdgeHidden()
Returns the current value of color of an edge to a hidden node |
java.awt.Color |
getColorEdgeHiddenMatching()
Returns the current value of color of an edge to a hidden node, part of a subtree matching with a query |
java.awt.Color |
getColorEdgeMatching()
Returns the current value of edge color, part of a subtree matching with a query |
java.awt.Color |
getColorFullcircle()
Returns the current value of fullcircle color |
java.awt.Color |
getColorFullcircleHidden()
Returns the current value of fullcircle color of a hidden node |
java.awt.Color |
getColorFullcircleHiddenChosen()
Returns the current value of fullcircle color of a chosen hidden node |
java.awt.Color |
getColorFullcircleHiddenMatching()
Returns the current value of fullcircle color of a hidden node matching with a query |
java.awt.Color |
getColorFullcircleChosen()
Returns the current value of fullcircle color of a selected node |
java.awt.Color |
getColorFullcircleMatching()
Returns the current value of fullcircle color of a node matching with a query |
java.awt.Color |
getColorMultipleSetsDivider()
Returns the current colour of multiple sets divider |
java.awt.Color |
getColorOptionalNode()
|
java.awt.Color |
getColorWriting()
Returns the current value of writing color |
java.awt.Color |
getColorZeroOccurrenceNode()
|
int |
getDiameter()
|
int |
getDiameterChosen()
|
int |
getDiameterMulti()
|
int |
getDiameterMultiChosen()
|
int |
getDirection()
|
int |
getFontSize()
Returns the current value of font_size |
boolean |
getHighlightOptionalNodes()
|
boolean |
getHighlightTransitiveEdges()
|
boolean |
getHighlightZeroOccurrenceNodes()
|
int |
getOdsazeni()
Returns the current value of odsazeni |
boolean |
getShowAttrNames()
|
boolean |
getShowHiddenNodes()
|
boolean |
getShowLemmaComments()
|
boolean |
getShowLemmaVariants()
|
boolean |
getShowMultipleMark()
|
boolean |
getShowMultipleMarkChosen()
|
boolean |
getShowMultipleSets()
|
boolean |
getShowMultipleSetsChosen()
|
boolean |
getShowMultipleValues()
|
boolean |
getShowMultipleValuesChosen()
|
boolean |
getShowNullValues()
|
int |
getSpaceAboveDivider()
|
int |
getSpaceAboveText()
|
int |
getSpaceAboveTree()
|
int |
getSpaceBelowDivider()
|
int |
getSpaceBelowText()
|
int |
getSpaceBelowTree()
|
java.awt.BasicStroke |
getStrokeTransitiveEdgeExclusive()
|
java.awt.BasicStroke |
getStrokeTransitiveEdgeTrue()
|
boolean |
getUseAsciiInTree()
|
int |
getVerticalSpaceBetweenTexts()
|
void |
setCodingInPrinting(int coding)
|
void |
setColorBackground(java.awt.Color new_color)
Sets the new value of background color |
void |
setColorCircle(java.awt.Color new_color)
Sets the new value of circle color |
void |
setColorCircleHidden(java.awt.Color new_color)
Sets the new value of circle color of a hidden node |
void |
setColorCircleHiddenChosen(java.awt.Color new_color)
Sets the new value of circle color of a hidden selected node |
void |
setColorCircleHiddenMatching(java.awt.Color new_color)
Sets the new value of circle color of a hidden node matching with a query |
void |
setColorCircleChosen(java.awt.Color new_color)
Sets the new value of circle color of a selected node |
void |
setColorCircleMatching(java.awt.Color new_color)
Sets the new value of circle color of a node matching with a query |
void |
setColorCircleMultiple(java.awt.Color new_color)
Sets the new value of multiple circle color |
void |
setColorCircleMultipleHidden(java.awt.Color new_color)
Sets the new value of multiple circle color of a hidden node |
void |
setColorCircleMultipleHiddenChosen(java.awt.Color new_color)
Sets the new value of multiple circle color of a selected hidden node |
void |
setColorCircleMultipleHiddenMatching(java.awt.Color new_color)
Sets the new value of multiple circle color of a hidden node matching with a query |
void |
setColorCircleMultipleChosen(java.awt.Color new_color)
Sets the new value of the multiple circle color of a selected node |
void |
setColorCircleMultipleMatching(java.awt.Color new_color)
Sets the new value of multiple circle color of a node matching with a query |
void |
setColorEdge(java.awt.Color new_color)
Sets the new value of edge color |
void |
setColorEdgeHidden(java.awt.Color new_color)
Sets the new value of color of an edge to a hidden node |
void |
setColorEdgeHiddenMatching(java.awt.Color new_color)
Sets the new value of color of an edge to a hidden node, part of a subtree matching with a query |
void |
setColorEdgeMatching(java.awt.Color new_color)
Sets the new value of edge color, part of a subtree matching with a query |
void |
setColorFullcircle(java.awt.Color new_color)
Sets the new value of fullcircle color |
void |
setColorFullcircleHidden(java.awt.Color new_color)
Sets the new value of fullcircle color of a hidden node |
void |
setColorFullcircleHiddenChosen(java.awt.Color new_color)
Sets the new value of fullcircle color of a chosen hidden node |
void |
setColorFullcircleHiddenMatching(java.awt.Color new_color)
Sets the new value of fullcircle color of a hidden node matching with a query |
void |
setColorFullcircleChosen(java.awt.Color new_color)
Sets the new value of fullcircle color of a selected node |
void |
setColorFullcircleMatching(java.awt.Color new_color)
Sets the new value of fullcircle color of a node matching with a query |
void |
setColorMultipleSetsDivider(java.awt.Color new_color)
Sets the new colour of multiple sets divider |
void |
setColorOptionalNode(java.awt.Color color)
|
void |
setColorScheme(int scheme)
Sets a color scheme for painting trees. |
void |
setColorWriting(java.awt.Color new_color)
Sets the new value of writing color |
void |
setColorZeroOccurrenceNode(java.awt.Color color)
|
void |
setDiameter(int new_diameter)
|
void |
setDiameterChosen(int new_diameter)
|
void |
setDiameterMulti(int new_diameter)
|
void |
setDiameterMultiChosen(int new_diameter)
|
void |
setDirection(int new_direction)
|
void |
setFontSize(int new_font_size)
Sets the new value of font_size |
void |
setHighlightOptionalNodes(boolean highlight)
|
void |
setHighlightTransitiveEdges(boolean highlight)
|
void |
setHighlightZeroOccurrenceNodes(boolean highlight)
|
void |
setOdsazeni(int new_odsazeni)
Sets the new value of odsazeni |
void |
setShowAttrNames(boolean new_show)
|
void |
setShowHiddenNodes(boolean show)
|
void |
setShowLemmaComments(boolean new_show)
|
void |
setShowLemmaVariants(boolean new_show)
|
void |
setShowMultipleMark(boolean new_show)
|
void |
setShowMultipleMarkChosen(boolean new_show)
|
void |
setShowMultipleSets(boolean new_show)
|
void |
setShowMultipleSetsChosen(boolean new_show)
|
void |
setShowMultipleValues(boolean new_show)
|
void |
setShowMultipleValuesChosen(boolean new_show)
|
void |
setShowNullValues(boolean new_show)
|
void |
setSpaceAboveDivider(int new_space)
|
void |
setSpaceAboveText(int new_space)
|
void |
setSpaceAboveTree(int new_space)
|
void |
setSpaceBelowDivider(int new_space)
|
void |
setSpaceBelowText(int new_space)
|
void |
setSpaceBelowTree(int new_space)
|
void |
setStrokeTransitiveEdgeExclusive(int stroke)
|
void |
setStrokeTransitiveEdgeTrue(int stroke)
|
void |
setUseAsciiInTree(boolean use_ascii)
|
void |
setVerticalSpaceBetweenTexts(int new_space)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int STROKE_LINE
public static final int STROKE_DASHED
public static final int STROKE_DOTTED
public static final int STROKE_DOT_AND_DASHED
public static final int COLOR_SCHEME_DEFAULT
public static final int COLOR_SCHEME_BLACK_AND_WHITE
public static final int DIRECTION_LEFT_RIGHT
public static final int DIRECTION_RIGHT_LEFT
Constructor Detail |
---|
public NGTreeProperties()
Method Detail |
---|
public void setColorScheme(int scheme)
scheme
- a color scheme. Possible values are:
public void setHighlightOptionalNodes(boolean highlight)
public boolean getHighlightOptionalNodes()
public void setHighlightZeroOccurrenceNodes(boolean highlight)
public boolean getHighlightZeroOccurrenceNodes()
public void setHighlightTransitiveEdges(boolean highlight)
public boolean getHighlightTransitiveEdges()
public void setStrokeTransitiveEdgeTrue(int stroke)
public java.awt.BasicStroke getStrokeTransitiveEdgeTrue()
public void setStrokeTransitiveEdgeExclusive(int stroke)
public java.awt.BasicStroke getStrokeTransitiveEdgeExclusive()
public void setColorOptionalNode(java.awt.Color color)
public java.awt.Color getColorOptionalNode()
public void setColorZeroOccurrenceNode(java.awt.Color color)
public java.awt.Color getColorZeroOccurrenceNode()
public void setCodingInPrinting(int coding)
public int getCodingInPrinting()
public void setUseAsciiInTree(boolean use_ascii)
public boolean getUseAsciiInTree()
public void setDiameter(int new_diameter)
public int getDiameter()
public void setDirection(int new_direction)
public int getDirection()
public void setDiameterChosen(int new_diameter)
public int getDiameterChosen()
public void setDiameterMulti(int new_diameter)
public int getDiameterMulti()
public void setDiameterMultiChosen(int new_diameter)
public int getDiameterMultiChosen()
public void setShowAttrNames(boolean new_show)
public boolean getShowAttrNames()
public void setShowNullValues(boolean new_show)
public boolean getShowNullValues()
public void setShowMultipleMark(boolean new_show)
public boolean getShowMultipleMark()
public void setShowMultipleMarkChosen(boolean new_show)
public boolean getShowMultipleMarkChosen()
public void setShowMultipleSets(boolean new_show)
public boolean getShowMultipleSets()
public void setShowMultipleSetsChosen(boolean new_show)
public boolean getShowMultipleSetsChosen()
public void setShowMultipleValues(boolean new_show)
public boolean getShowMultipleValues()
public void setShowMultipleValuesChosen(boolean new_show)
public boolean getShowMultipleValuesChosen()
public void setShowLemmaVariants(boolean new_show)
public boolean getShowLemmaVariants()
public void setShowLemmaComments(boolean new_show)
public boolean getShowLemmaComments()
public void setShowHiddenNodes(boolean show)
public boolean getShowHiddenNodes()
public void setSpaceAboveText(int new_space)
public int getSpaceAboveText()
public void setSpaceBelowText(int new_space)
public int getSpaceBelowText()
public void setSpaceAboveTree(int new_space)
public int getSpaceAboveTree()
public void setSpaceBelowTree(int new_space)
public int getSpaceBelowTree()
public void setVerticalSpaceBetweenTexts(int new_space)
public int getVerticalSpaceBetweenTexts()
public void setSpaceAboveDivider(int new_space)
public int getSpaceAboveDivider()
public void setSpaceBelowDivider(int new_space)
public int getSpaceBelowDivider()
public void setFontSize(int new_font_size)
public int getFontSize()
public void setColorFullcircleChosen(java.awt.Color new_color)
public java.awt.Color getColorFullcircleChosen()
public void setColorCircleChosen(java.awt.Color new_color)
public java.awt.Color getColorCircleChosen()
public void setColorFullcircle(java.awt.Color new_color)
public java.awt.Color getColorFullcircle()
public void setColorFullcircleMatching(java.awt.Color new_color)
public java.awt.Color getColorFullcircleMatching()
public void setColorCircle(java.awt.Color new_color)
public java.awt.Color getColorCircle()
public void setColorCircleMatching(java.awt.Color new_color)
public java.awt.Color getColorCircleMatching()
public void setColorCircleMultiple(java.awt.Color new_color)
public java.awt.Color getColorCircleMultiple()
public void setColorCircleMultipleMatching(java.awt.Color new_color)
public java.awt.Color getColorCircleMultipleMatching()
public void setColorCircleMultipleChosen(java.awt.Color new_color)
public java.awt.Color getColorCircleMultipleChosen()
public void setColorCircleMultipleHidden(java.awt.Color new_color)
public java.awt.Color getColorCircleMultipleHidden()
public void setColorCircleMultipleHiddenMatching(java.awt.Color new_color)
public java.awt.Color getColorCircleMultipleHiddenMatching()
public void setColorCircleMultipleHiddenChosen(java.awt.Color new_color)
public java.awt.Color getColorCircleMultipleHiddenChosen()
public void setColorMultipleSetsDivider(java.awt.Color new_color)
public java.awt.Color getColorMultipleSetsDivider()
public void setColorCircleHidden(java.awt.Color new_color)
public java.awt.Color getColorCircleHidden()
public void setColorCircleHiddenMatching(java.awt.Color new_color)
public java.awt.Color getColorCircleHiddenMatching()
public void setColorCircleHiddenChosen(java.awt.Color new_color)
public java.awt.Color getColorCircleHiddenChosen()
public void setColorFullcircleHidden(java.awt.Color new_color)
public java.awt.Color getColorFullcircleHidden()
public void setColorFullcircleHiddenMatching(java.awt.Color new_color)
public java.awt.Color getColorFullcircleHiddenMatching()
public void setColorFullcircleHiddenChosen(java.awt.Color new_color)
public java.awt.Color getColorFullcircleHiddenChosen()
public void setColorEdge(java.awt.Color new_color)
public java.awt.Color getColorEdge()
public void setColorEdgeMatching(java.awt.Color new_color)
public java.awt.Color getColorEdgeMatching()
public void setColorEdgeHidden(java.awt.Color new_color)
public java.awt.Color getColorEdgeHidden()
public void setColorEdgeHiddenMatching(java.awt.Color new_color)
public java.awt.Color getColorEdgeHiddenMatching()
public void setColorWriting(java.awt.Color new_color)
public java.awt.Color getColorWriting()
public void setColorBackground(java.awt.Color new_color)
public java.awt.Color getColorBackground()
public void setOdsazeni(int new_odsazeni)
public int getOdsazeni()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |