Class RMDoubleStrokeTool


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

      • RMDoubleStrokeTool

        public RMDoubleStrokeTool()
    • Method Detail

      • initUI

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

        public void resetUI()
        Called by Ribs to reset UI controls.
        Overrides:
        resetUI in class RMFillTool
      • 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.