Package org.exbin.bined.swing
Interface CodeAreaSwingControl
-
- All Known Implementing Classes:
CodeArea
@ParametersAreNonnullByDefault public interface CodeAreaSwingControl
Code area swing control.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
paintComponent(java.awt.Graphics g)
Paints the main component.void
reset()
Resets painter state for new painting.void
resetColors()
Rebuilds colors after UIManager change.void
updateLayout()
Requests update of the component layout.void
updateScrollPosition(org.exbin.bined.basic.CodeAreaScrollPosition scrollPosition)
Updates scroll position.
-
-
-
Method Detail
-
paintComponent
void paintComponent(java.awt.Graphics g)
Paints the main component.- Parameters:
g
- graphics
-
resetColors
void resetColors()
Rebuilds colors after UIManager change.
-
reset
void reset()
Resets painter state for new painting.
-
updateLayout
void updateLayout()
Requests update of the component layout. Notifies code area, that change of parameters will affect layout and it should be recomputed and updated if necessary.
-
updateScrollPosition
void updateScrollPosition(org.exbin.bined.basic.CodeAreaScrollPosition scrollPosition)
Updates scroll position.- Parameters:
scrollPosition
- scroll position
-
-