public class

Coordinates

extends Object
implements ICoordinates
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.output.text.impl.Coordinates

Class Overview

A simple implementation of the ICoordinates interface.

Plugins may use this class to minimize code duplication.

Summary

Public Constructors
Coordinates(long anchorId, int lineDelta, int columnOffset)
Coordinates(long anchorId, int lineDelta)
Coordinates(long anchorId)
Public Methods
boolean equals(Object obj)
long getAnchorId()
Get the anchor id.
int getColumnOffset()
Get the column offset within the line identified by the (anchorId, lineDelta) couple.
int getLineDelta()
Get the line index within the anchored chunk.
int hashCode()
void setAnchorId(int anchorId)
void setColumnOffset(int columnOffset)
void setLineDelta(int lineDelta)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.pnfsoftware.jeb.core.output.text.ICoordinates

Public Constructors

public Coordinates (long anchorId, int lineDelta, int columnOffset)

public Coordinates (long anchorId, int lineDelta)

public Coordinates (long anchorId)

Public Methods

public boolean equals (Object obj)

public long getAnchorId ()

Get the anchor id.

Returns
  • the anchor id

public int getColumnOffset ()

Get the column offset within the line identified by the (anchorId, lineDelta) couple.

Returns
  • the column offset

public int getLineDelta ()

Get the line index within the anchored chunk.

Returns
  • the line index

public int hashCode ()

public void setAnchorId (int anchorId)

public void setColumnOffset (int columnOffset)

public void setLineDelta (int lineDelta)

public String toString ()