Class GradientStopTableModel

    • Constructor Detail

      • GradientStopTableModel

        public GradientStopTableModel()
        Creates a new instance of GradientStopTableModel
    • Method Detail

      • getColumnCount

        public int getColumnCount()
      • getRowCount

        public int getRowCount()
      • getValueAt

        public Object getValueAt​(int rowIndex,
                                 int columnIndex)
      • removeRow

        public void removeRow​(int index)
        removeRow at specified index
        Parameters:
        index - the index
        See Also:
        newRow()
      • validateOffset

        protected void validateOffset​(String text)
        Validate Gradient Stop Offset
        Parameters:
        text - the Gradient Stop Offset
      • validateOpacity

        protected void validateOpacity​(String text)
        validate Gradient Stop Opacity
        Parameters:
        text - the Gradient Stop Opacity
      • setGradientElement

        public void setGradientElement​(org.w3c.dom.svg.SVGGradientElement element)
        set Gradient Element
        Parameters:
        element - SVGGradientElement
        See Also:
        getGradientElement()
      • refresh

        public void refresh()
        Refresh this model