Class PanelDecorator

    • Constructor Detail

      • PanelDecorator

        public PanelDecorator()
        Insert the method's description here. Creation date: (10.12.2000 13:25:27)
      • PanelDecorator

        public PanelDecorator​(VisualComponent component)
        ComponentManager constructor comment.
        Parameters:
        component - component
    • Method Detail

      • draw

        public void draw​(Graphics g)
        Default implementation Creation date: (10.12.2000 11:25:20)
        Specified by:
        draw in interface VisualComponent
        Parameters:
        g - g
      • getComponent

        public VisualComponent getComponent()
        Insert the method's description here. Creation date: (10.12.2000 13:02:11)
        Returns:
        com.cosylab.vdct.graphics.VisualComponent
      • getComponentHeight

        public int getComponentHeight()
        Insert the method's description here. Creation date: (11.12.2000 16:23:31)
        Specified by:
        getComponentHeight in interface VisualComponent
        Returns:
        something
      • getComponentWidth

        public int getComponentWidth()
        Insert the method's description here. Creation date: (11.12.2000 16:23:02)
        Specified by:
        getComponentWidth in interface VisualComponent
        Returns:
        int
      • resize

        public void resize​(int x0,
                           int y0,
                           int width,
                           int height)
        Default implementation Creation date: (10.12.2000 11:26:54)
        Specified by:
        resize in interface VisualComponent
        Parameters:
        x0 - x0
        y0 - y0
        width - width
        height - height
      • setComponent

        public void setComponent​(VisualComponent newComponent)
        Insert the method's description here. Creation date: (10.12.2000 13:02:11)
        Parameters:
        newComponent - com.cosylab.vdct.graphics.VisualComponent
      • paintComponent

        protected void paintComponent​(Graphics g)
        Insert the method's description here. Creation date: (10.12.2000 14:19:55)
        Overrides:
        paintComponent in class JComponent
        Parameters:
        g - java.awt.Graphics