Class Grid2DPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class Grid2DPanel extends JPanel
Author:
yetnt
See Also:
  • Field Details

  • Constructor Details

    • Grid2DPanel

      public Grid2DPanel()
      Creates new form Grid2DPanel
  • Method Details

    • toPoint

      private CartesianPoint toPoint(ScreenPoint p, boolean round)
    • roundPoint

      public CartesianPoint roundPoint(CartesianPoint cp)
    • initMouse

      private void initMouse()
    • toggleHidden

      public void toggleHidden()
    • getGrid

      public Grid getGrid()
    • getOverlapId

      public UUID getOverlapId()
    • getDrawPanel

      public JPanel getDrawPanel()
    • getOrigin

      public Vector3 getOrigin()
    • getV1

      public Vector3 getV1()
    • getV2

      public Vector3 getV2()
    • getScale

      public double getScale()
    • getFrom

      public CartesianPoint getFrom()
    • setFrom

      public void setFrom(CartesianPoint from)
    • getTo

      public CartesianPoint getTo()
    • setTo

      public void setTo(CartesianPoint to)
    • parseV3Str

      private Vector3 parseV3Str(String accumulator)
    • ask

      private Vector3 ask(String string)
    • discoverExisting

      public void discoverExisting()
    • log

      private void log(String string)
    • theme

      public void theme()
    • setOrigin

      void setOrigin(Vector3 origin)
    • setV1

      void setV1(Vector3 v1)
    • setV2

      void setV2(Vector3 v2)
    • handleSpinners

      private void handleSpinners()
    • setSpinnerState

      private void setSpinnerState(Grid2DPanel.SpinnerIdentifier spinnerIdentifier, Vector3 v)
    • initComponents

      private void initComponents()
      This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
    • setOriginBtnActionPerformed

      private void setOriginBtnActionPerformed(ActionEvent evt)
    • xCompBtnActionPerformed

      private void xCompBtnActionPerformed(ActionEvent evt)
    • yCompBtnActionPerformed

      private void yCompBtnActionPerformed(ActionEvent evt)
    • renderBtnActionPerformed

      private void renderBtnActionPerformed(ActionEvent evt)
    • presetComboBoxActionPerformed

      private void presetComboBoxActionPerformed(ActionEvent evt)
    • jCheckBox1ActionPerformed

      private void jCheckBox1ActionPerformed(ActionEvent evt)
    • queryBtnActionPerformed

      private void queryBtnActionPerformed(ActionEvent evt)
    • normalizeV1BtnActionPerformed

      private void normalizeV1BtnActionPerformed(ActionEvent evt)
    • normalizeV2BtnActionPerformed

      private void normalizeV2BtnActionPerformed(ActionEvent evt)