Package org.exbin.bined.swing
Interface CodeAreaSwingControl
-
- All Known Implementing Classes:
CodeArea
@ParametersAreNonnullByDefault public interface CodeAreaSwingControlCode area swing control.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpaintComponent(java.awt.Graphics g)Paints the main component.voidreset()Resets painter state for new painting.voidresetColors()Rebuilds colors after UIManager change.voidupdateLayout()Requests update of the component layout.voidupdateScrollPosition(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
-
-