Class RMDoubleStrokeTool


public class RMDoubleStrokeTool extends RMStrokeTool
Swing UI editing for RMDoubleStroke.
  • Constructor Details

    • RMDoubleStrokeTool

      public RMDoubleStrokeTool()
  • Method Details

    • initUI

      protected void initUI()
      Initialize UI panel.
      Overrides:
      initUI in class UIOwner<SwingEvent,JComponent>
    • resetUI

      public void resetUI()
      Called by Ribs to reset UI controls.
      Overrides:
      resetUI in class RMFillTool
    • respondUI

      public void respondUI(SwingEvent anEvent)
      Called by Ribs to respond to UI controls
      Overrides:
      respondUI in class RMStrokeTool
    • getRuleComboBoxIndex

      public int getRuleComboBoxIndex(RMDoubleStroke hs)
      Returns the RuleComboBox index for the given stroke.
    • getRuleComboBoxStroke

      public RMStroke getRuleComboBoxStroke(int anIndex, RMDoubleStroke aBaseStroke)
      Returns the RuleComboBox adjusted stroke for the given combobox index and an original base stroke.