Package editor
Class AbstractLineInfoManager
- java.lang.Object
-
- editor.AbstractLineInfoManager
-
- All Implemented Interfaces:
ILineInfoManager
- Direct Known Subclasses:
GosuClassLineInfoManager,SimpleLineInfoManager,SystemPanel.SystemPanelLineInfoMgr
public abstract class AbstractLineInfoManager extends java.lang.Object implements ILineInfoManager
-
-
Field Summary
Fields Modifier and Type Field Description private EditorHost_editorprivate javax.swing.ImageIcon_iconBreakpointprivate javax.swing.ImageIcon_iconBreakpointDisabledprivate static intg_iRequiredWidth
-
Constructor Summary
Constructors Constructor Description AbstractLineInfoManager()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract BreakpointgetBreakpointAtLine(int iLine)protected BreakpointManagergetBreakpointManager()java.awt.CursorgetCursor(int iLine)EditorHostgetEditor()protected abstract BreakpointgetExecPointAtLine(int iLine)protected abstract BreakpointgetFramePointAtLine(int iLine)protected GosuPanelgetGosuPanel()intgetRequiredWidth()protected abstract booleanisBreakpointAtLine(int iLine)protected abstract booleanisExecPointAtLine(int iLine)protected abstract booleanisFramePointAtLine(int iLine)voidrender(java.awt.Graphics g, int iLine, int iLineHeight, int iX, int iY)voidrenderHighlight(java.awt.Graphics g, int iLine)voidsetEditor(EditorHost gosuEditor)voidshowContextMenu(java.awt.event.MouseEvent e, int iLine)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface editor.ILineInfoManager
handleLineClick
-
-
-
-
Field Detail
-
g_iRequiredWidth
private static int g_iRequiredWidth
-
_iconBreakpoint
private javax.swing.ImageIcon _iconBreakpoint
-
_iconBreakpointDisabled
private javax.swing.ImageIcon _iconBreakpointDisabled
-
_editor
private EditorHost _editor
-
-
Method Detail
-
setEditor
public void setEditor(EditorHost gosuEditor)
- Specified by:
setEditorin interfaceILineInfoManager
-
getEditor
public EditorHost getEditor()
- Specified by:
getEditorin interfaceILineInfoManager
-
getRequiredWidth
public int getRequiredWidth()
- Specified by:
getRequiredWidthin interfaceILineInfoManager
-
render
public void render(java.awt.Graphics g, int iLine, int iLineHeight, int iX, int iY)- Specified by:
renderin interfaceILineInfoManager
-
getBreakpointManager
protected BreakpointManager getBreakpointManager()
-
getGosuPanel
protected GosuPanel getGosuPanel()
-
renderHighlight
public void renderHighlight(java.awt.Graphics g, int iLine)- Specified by:
renderHighlightin interfaceILineInfoManager
-
getCursor
public java.awt.Cursor getCursor(int iLine)
- Specified by:
getCursorin interfaceILineInfoManager
-
showContextMenu
public void showContextMenu(java.awt.event.MouseEvent e, int iLine)
-
isBreakpointAtLine
protected abstract boolean isBreakpointAtLine(int iLine)
-
getBreakpointAtLine
protected abstract Breakpoint getBreakpointAtLine(int iLine)
-
isExecPointAtLine
protected abstract boolean isExecPointAtLine(int iLine)
-
getExecPointAtLine
protected abstract Breakpoint getExecPointAtLine(int iLine)
-
isFramePointAtLine
protected abstract boolean isFramePointAtLine(int iLine)
-
getFramePointAtLine
protected abstract Breakpoint getFramePointAtLine(int iLine)
-
-