sidekick.util
Interface SideKickElement
public interface SideKickElement
danson: an interface for objects that need to provide both Location and
Position information. This is useful for objects created by javacc parsers.
All the javacc parsers I've written so far for sidekick create objects that
provide Location information. These objects also need to provide Position
information for sidekick. By generalizing to an interface, these various
objects can be handled by utilities that need to manipulate this data without
regard for the actual object type.
setStartLocation
void setStartLocation(Location loc)
getStartLocation
Location getStartLocation()
setEndLocation
void setEndLocation(Location loc)
getEndLocation
Location getEndLocation()
setStartPosition
void setStartPosition(javax.swing.text.Position s)
getStartPosition
javax.swing.text.Position getStartPosition()
setEndPosition
void setEndPosition(javax.swing.text.Position s)
getEndPosition
javax.swing.text.Position getEndPosition()