Class ComponentResizer


  • public class ComponentResizer
    extends java.lang.Object
    Resizes a Swing component (including Acop beans).
    Version:
    3.0.0
    Author:
    R.Bacher
    • Constructor Summary

      Constructors 
      Constructor Description
      ComponentResizer​(java.awt.Component referenceComponent, java.awt.Component component, ApplicationResizeManager applicationResizeManager)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void resizeComponent()
      Resizes the Swing component.
      void resizePopupMenu()
      Resizes a MstApp popup menu.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ComponentResizer

        public ComponentResizer​(java.awt.Component referenceComponent,
                                java.awt.Component component,
                                ApplicationResizeManager applicationResizeManager)
        Constructor
        Parameters:
        referenceComponent - Frame object of the resized visual application
        component - Swing component to be resized
    • Method Detail

      • resizeComponent

        public final void resizeComponent()
        Resizes the Swing component.
      • resizePopupMenu

        public final void resizePopupMenu()
        Resizes a MstApp popup menu.