Package hec.gfx2d

Class G2dMarkerPoint

java.lang.Object
hec.gfx2d.G2dMarkerPoint
All Implemented Interfaces:
ActionListener, EventListener

public class G2dMarkerPoint extends Object implements ActionListener
  • Constructor Details

  • Method Details

    • setScale

      public void setScale(Scale s)
    • getMarkerXValue

      public double getMarkerXValue()
    • getMarkerYValue

      public double getMarkerYValue()
    • getScale

      public Scale getScale()
    • getProperties

      public G2dMarkerPointProperties getProperties()
    • setProperties

      public void setProperties(G2dMarkerPointProperties propValue)
    • setViewport

      public void setViewport(Viewport g)
    • drawPoint

      public void drawPoint(Graphics g, Rectangle clipRect)
      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 to
      clipRect - - the rectangle that bounds the viewable region. This describes how the line is clipped. The clipping units are in world coordinates
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      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 interface ActionListener
    • editMarkerLineProperties

      public void editMarkerLineProperties()
      Method that allows the editing of line properties. This method displays a visible dialog for line editing.
    • createPropertiesDialog

      public G2dPropertiesDlg createPropertiesDialog()
    • contains

      public boolean contains(LocalPt pt)
    • showPopup

      public void showPopup(Component c, int x, int y)
    • toString

      public String toString()
      Overrides:
      toString in class Object