# Class: modelit.layout.AbstractPainter (Abstract)

### Extends: matlab.mixin.SetGet & handle

## DESCRIPTION:

An abstract painter. To be used as a decorator for modelit.layout.Frame

#

## Properties

visible | Boolean: Default value: true |
      Determines if the painter is visible.

# Public Method: AbstractPainter

## DESCRIPTION:

modelit.ui.AbstractPainter constructor

## CALL:

obj = modelit.ui.AbstractPainter(varargin)

## INPUT:

varargin | parameter-value pairs |
    see the component properties for a
    description of the parameters and their values
    Documentation for modelit.layout.AbstractPainter/AbstractPainter
       doc modelit.layout.AbstractPainter

# Public Abstract Method: getInsets

## DESCRIPTION:

Get the painter insets

# Public Abstract Method: paint

## DESCRIPTION:

Carry out the painting

# Protected Method: isPainterChanged

## DESCRIPTION:

Returns if one or more properties have been changed and the painter needs to be reinitialized

## CALL:

value = isPainterChanged(obj)

## INPUT:

obj | modelit.ui.AbstractPainter |

## OUTPUT:

value | boolean |
    true if one or more properties have been changed and the painter needs to be reinitialized

# Protected Method: setPainterChanged

## DESCRIPTION:

Set to true to indicate that one or more properties have been changed and the painter needs to be reinitialized

## CALL:

obj = modelit.ui.AbstractPainter(varargin)

## INPUT:

obj | modelit.ui.AbstractPainter |
value | boolean |
    true if one or more properties have been changed and the painter needs to be reinitialized

## OUTPUT:

       No output