Package org.gjt.sp.jedit.gui.statusbar
Class SelectionLengthWidgetFactory.SelectionLengthWidget
- java.lang.Object
-
- org.gjt.sp.jedit.gui.statusbar.SelectionLengthWidgetFactory.SelectionLengthWidget
-
- All Implemented Interfaces:
Widget
- Enclosing class:
- SelectionLengthWidgetFactory
public static class SelectionLengthWidgetFactory.SelectionLengthWidget extends java.lang.Object implements Widget
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JComponentgetComponent()Returns the component that will be inserted in the status barvoidhandleViewUpdate(ViewUpdate viewUpdate)voidpropertiesChanged()a callback telling that the properties have been changed, the widget can update itself if neededvoidupdate()A refresh is asked to the widget
-
-
-
Method Detail
-
getComponent
public javax.swing.JComponent getComponent()
Description copied from interface:WidgetReturns the component that will be inserted in the status bar- Specified by:
getComponentin interfaceWidget- Returns:
- a JComponent
-
update
public void update()
Description copied from interface:WidgetA refresh is asked to the widget
-
propertiesChanged
public void propertiesChanged()
Description copied from interface:Widgeta callback telling that the properties have been changed, the widget can update itself if needed- Specified by:
propertiesChangedin interfaceWidget
-
handleViewUpdate
public void handleViewUpdate(ViewUpdate viewUpdate)
-
-