Class LayoutLockedFieldPanelCoordinator
- java.lang.Object
- 
- docking.widgets.fieldpanel.internal.FieldPanelCoordinator
- 
- docking.widgets.fieldpanel.internal.LineLockedFieldPanelCoordinator
- 
- docking.widgets.fieldpanel.internal.LayoutLockedFieldPanelCoordinator
 
 
 
- 
- All Implemented Interfaces:
- ViewListener
 - Direct Known Subclasses:
- ListingComparisonFieldPanelCoordinator
 
 public class LayoutLockedFieldPanelCoordinator extends LineLockedFieldPanelCoordinator A LayoutLockedFieldPanelCoordinator is an extension of a LineLockedFieldPanelCoordinator that handles the fact that field panel layouts vary in size. It coordinates the scrolling of a set of field panels by sharing bound scroll models that are locked together by a set of index numbers for the FieldPanel Layouts. All the field panels are locked together at the index numbers specified in the locked line array. In other words this coordinator tries to keep the layout indicated by the line (or index) for each field panel side by side with the indicated layout for each other field panel.
 Note: The layouts that are locked together will be positioned so that the bottom of those layouts line up within the field panels.
- 
- 
Field Summary- 
Fields inherited from class docking.widgets.fieldpanel.internal.LineLockedFieldPanelCoordinatorlockedLineNumbers
 
- 
 - 
Constructor SummaryConstructors Constructor Description LayoutLockedFieldPanelCoordinator(FieldPanel[] panels)Constructor for the coordinator.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidviewChanged(FieldPanel fp, java.math.BigInteger index, int xPos, int yPos)Notifies the listener that the top of the screen has changed position.- 
Methods inherited from class docking.widgets.fieldpanel.internal.LineLockedFieldPanelCoordinatoradd, getLockedLineForPanel, remove, resetLockedLines, setLockedLines
 - 
Methods inherited from class docking.widgets.fieldpanel.internal.FieldPanelCoordinatordispose
 
- 
 
- 
- 
- 
Constructor Detail- 
LayoutLockedFieldPanelCoordinatorpublic LayoutLockedFieldPanelCoordinator(FieldPanel[] panels) Constructor for the coordinator.- Parameters:
- panels- the field panels that will have their positions coordinated with each other.
 
 
- 
 - 
Method Detail- 
viewChangedpublic void viewChanged(FieldPanel fp, java.math.BigInteger index, int xPos, int yPos) Description copied from interface:ViewListenerNotifies the listener that the top of the screen has changed position.- Specified by:
- viewChangedin interface- ViewListener
- Overrides:
- viewChangedin class- LineLockedFieldPanelCoordinator
- Parameters:
- fp- the field panel whose view changed.
- index- the index of the layout at the top of the screen.
- xPos- the x coordinate of the layout displayed at the left of the screen.
- yPos- the y coordinate of the layout displayed at the top of the screen.
 
 
- 
 
-