Class EditGeometryStyleDialog

    • Constructor Detail

      • EditGeometryStyleDialog

        public EditGeometryStyleDialog(GeometryStylesModel model,
                                       GeometryStyle style)
        Create an edit dialog for the denoted style.
        Parameters:
        model - the list model of geometry styles.
        style - the style to edit.
    • Method Detail

      • getLineWidth

        public double getLineWidth()
        Returns:
        the line width for outline.
      • getDrawNodes

        public boolean getDrawNodes()
        Returns:
        whether to draw nodes.
      • getColorFill

        public ColorCode getColorFill()
        Returns:
        the color for filling.
      • getColorOutline

        public ColorCode getColorOutline()
        Returns:
        the color for outlines.
      • showDialog

        public int showDialog()
        Show the dialog in a modal fashion.
        Returns:
        JOptionPane.OK_OPTION or JOptionPane.CANCEL_OPTION.