Class CodeLine
java.lang.Object
com.pnfsoftware.jeb.core.output.code.CodeLine
- All Implemented Interfaces:
ILine
Class for code lines. Code lines items are of type
AssemblyItem
. Optionally, coordinates can
be attached to code lines:
- Either to the entire line, with
setLineCoordinates(ICodeCoordinates)
- Or to the current area within the line, with
setCoordinates(ICodeCoordinates)
-
Field Summary
Fields inherited from interface com.pnfsoftware.jeb.core.output.text.ILine
EMPTY_LINE, FLAG_DISABLED_LINE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFlags
(int f) getCoordinates
(int offset) int
getFlags()
Retrieve the flags for the entire line.getItems()
Get the list of text items within the current line.getMarks()
Get the list of marks for this line.getText()
Get the line text.void
removeFlags
(int f) void
setCoordinates
(ICodeCoordinates coord) void
setFlags
(int f) void
toString()
-
Constructor Details
-
CodeLine
public CodeLine()
-
-
Method Details
-
getText
Description copied from interface:ILine
Get the line text. It is the responsibility of the implementor to make sure that lines do not contain CR/LF characters. -
getFlags
public int getFlags()Description copied from interface:ILine
Retrieve the flags for the entire line. -
setFlags
public void setFlags(int f) -
addFlags
public void addFlags(int f) -
removeFlags
public void removeFlags(int f) -
getItems
Description copied from interface:ILine
Get the list of text items within the current line. It is the responsibility of the implementor to make sure that items are non overlapping and are sorted. -
getMarks
Description copied from interface:ILine
Get the list of marks for this line. -
setCoordinates
-
getCoordinates
-
getCoordinates
-
setLineCoordinates
-
getLineCoordinates
-
toString
-