Package hec.gfx2d
Class G2dMarkerLine
java.lang.Object
hec.gfx2d.G2dMarkerLine
- All Implemented Interfaces:
ActionListener
,EventListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
This method listens for action events.boolean
void
This method draws a line to the specified graphics context.void
Method that allows the editing of line properties.double
getScale()
void
setProperties
(G2dMarkerProperties propValue) void
void
void
toString()
-
Constructor Details
-
G2dMarkerLine
-
G2dMarkerLine
-
-
Method Details
-
setScale
-
getMarkerValue
public double getMarkerValue() -
getScale
-
getProperties
-
setProperties
-
setViewport
-
drawLine
This method draws a line to the specified graphics context. The line is clipped so it fits within the clipping rectangle- Parameters:
g
- - the graphics context to clip toclipRect
- - the rectangle that bounds the viewable region. This describes how the line is clipped. The clipping units are in world coordinates
-
actionPerformed
This method listens for action events. If an action event is generated by a component of this line it is routed to the appropriate handler- Specified by:
actionPerformed
in interfaceActionListener
-
editMarkerLineProperties
public void editMarkerLineProperties()Method that allows the editing of line properties. This method displays a visible dialog for line editing. -
createPropertiesDialog
-
contains
-
showPopup
-
toString
-