Interface OptionsEditorAlignable


public interface OptionsEditorAlignable NEW
A simple interface for options PropertyEditors to signal that they provide a custom option editor that would like to be aligned with other options in the same view.
  • Method Summary

    Change
    Modifier and Type
    Method
    Description
    Returns Gets the preferred alignment size of this class..
    void
    Sets the final preferred alignment size after merging all preferred sizes from all options components in the view.
  • Method Details

    • getPreferredAlignmentSize

      Dimension getPreferredAlignmentSize()
      Returns Gets the preferred alignment size of this class..
      Returns:
      Gets the preferred alignment size of this class.
    • setPreferredAlignmentSize

      void setPreferredAlignmentSize(Dimension size)
      Sets the final preferred alignment size after merging all preferred sizes from all options components in the view.
      Parameters:
      size - the size