-
public interface Resizable
Used by classes that depend on dimensional values to lay themselves out and draw. Consideration should be given to synchronizing with any draw routines that also exist within the class.
-
-
Method Summary
Modifier and Type Method Description abstract void
layout(DisplayDimensions dims)
Called when a change to the class' dimensions is made. -
-
Method Detail
-
layout
abstract void layout(DisplayDimensions dims)
Called when a change to the class' dimensions is made. This method is responsiblefor cascading calls to update for any logical children of this class, for examplethe Plot class is responsible for updating the LayoutManager. Note that while dimsis marked final in this interface, the compiler will not enforce it. Implementors ofthis method should take care not to make changes to dims as this will affect parentResizables in likely undesired ways.
-
-
-
-