|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.editor.margin.DefaultCodeFoldingPainter
public class DefaultCodeFoldingPainter
The default painter for code folding.
Constructor Summary | |
---|---|
DefaultCodeFoldingPainter()
|
Method Summary | |
---|---|
int |
getPreferredWidth()
Gets preferred width. |
void |
paintBackground(Component c,
Graphics g,
Rectangle rect)
Paints the background of the code folding area. |
void |
paintCollapsedFolding(Component c,
Graphics g,
Span span,
Rectangle rect,
int state)
Paints the collapsed folding. |
void |
paintExpandedFolding(Component c,
Graphics g,
Span span,
Rectangle rect,
int state)
Paints the expanded folding. |
int |
paintFoldingEnd(Component c,
Graphics g,
Span span,
Rectangle rect,
int state)
Paints the end of the folding. |
void |
paintFoldingLine(Component c,
Graphics g,
Span span,
Rectangle rect,
int state)
Paints the folding line between the start and the end of the folding. |
int |
paintFoldingStart(Component c,
Graphics g,
Span span,
Rectangle rect,
int state)
Paints the start of the folding. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultCodeFoldingPainter()
Method Detail |
---|
public int paintFoldingStart(Component c, Graphics g, Span span, Rectangle rect, int state)
CodeFoldingPainter
paintFoldingStart
in interface CodeFoldingPainter
public int paintFoldingEnd(Component c, Graphics g, Span span, Rectangle rect, int state)
CodeFoldingPainter
paintFoldingEnd
in interface CodeFoldingPainter
public void paintCollapsedFolding(Component c, Graphics g, Span span, Rectangle rect, int state)
CodeFoldingPainter
paintCollapsedFolding
in interface CodeFoldingPainter
public void paintExpandedFolding(Component c, Graphics g, Span span, Rectangle rect, int state)
CodeFoldingPainter
paintExpandedFolding
in interface CodeFoldingPainter
public void paintFoldingLine(Component c, Graphics g, Span span, Rectangle rect, int state)
CodeFoldingPainter
paintFoldingLine
in interface CodeFoldingPainter
public void paintBackground(Component c, Graphics g, Rectangle rect)
CodeFoldingPainter
paintBackground
in interface CodeFoldingPainter
public int getPreferredWidth()
CodeFoldingPainter
getPreferredWidth
in interface CodeFoldingPainter
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |