Uses of Class
ca.corbett.forms.Margins
Packages that use Margins
Package
Description
Contains the ActionPanel component and supporting classes.
Contains a custom Properties implementation to augment the one provided by java.
Welcome to swing-forms!
ca.corbett.forms.fields
-
Uses of Margins in ca.corbett.extras.actionpanel
Methods in ca.corbett.extras.actionpanel that return MarginsModifier and TypeMethodDescriptionActionPanel.getActionGroupMargins()Returns the Margins instance for action groups.ActionPanel.getActionTrayMargins()Returns the Margins instance for the action tray area of action groups.ActionPanel.getHeaderMargins()Returns the Margins instance for the header area of action groups.ActionPanel.getToolBarMargins()Returns the Margins instance for the ToolBar. -
Uses of Margins in ca.corbett.extras.properties
Fields in ca.corbett.extras.properties declared as MarginsMethods in ca.corbett.extras.properties that return MarginsModifier and TypeMethodDescriptionAbstractProperty.getMarginPadding()Returns a copy of the margin padding that will be applied to the generated FormField.MarginsProperty.getMargins()Methods in ca.corbett.extras.properties with parameters of type MarginsConstructors in ca.corbett.extras.properties with parameters of type Margins -
Uses of Margins in ca.corbett.forms
Methods in ca.corbett.forms that return MarginsModifier and TypeMethodDescriptionMargins.addListener(Margins.Listener listener) You can listen for changes to this Margins instance by adding a Listener.Copies all values from the given other Margins instance.FormPanel.getBorderMargin()Returns the optional border margin to be applied as described in setBorderMargin.Margins.removeListener(Margins.Listener listener) You can stop listening to this Margins instance by removing a Listener that was previously added via addListener().Margins.setAll(int value) Set all values to the given pixel value.Margins.setBottom(int bottom) Margins.setInternalSpacing(int internalSpacing) Margins.setLeft(int left) Margins.setRight(int right) Margins.setTop(int top) Methods in ca.corbett.forms with parameters of type MarginsModifier and TypeMethodDescriptionCopies all values from the given other Margins instance.voidMargins.Listener.marginsChanged(Margins margins) FormPanel.setBorderMargin(Margins margins) Sets optional pixel margins for the FormPanel itself to keep it away from the edges of its container.Constructors in ca.corbett.forms with parameters of type Margins -
Uses of Margins in ca.corbett.forms.fields
Fields in ca.corbett.forms.fields declared as MarginsMethods in ca.corbett.forms.fields that return MarginsModifier and TypeMethodDescriptionFormField.getMargins()MarginsField.getMarginsObject()Don't confuse this with the getMargins() method from the parent class!Methods in ca.corbett.forms.fields with parameters of type MarginsModifier and TypeMethodDescriptionFormField.setMargins(Margins margins) MarginsField.setMarginsObject(Margins margins) Sets our field values according to the given Margins instance.Constructors in ca.corbett.forms.fields with parameters of type Margins