net.sf.filePiper.gui.borders
Class FileProcessorBorder
java.lang.Object
net.sf.sfac.gui.layout.MultiBorder
net.sf.filePiper.gui.borders.FileProcessorBorder
- All Implemented Interfaces:
- Border
public class FileProcessorBorder
- extends net.sf.sfac.gui.layout.MultiBorder
Border allowing to choose the file processor.
- Author:
- Olivier Berlanger
- See Also:
MultiBorderLayout,
MultiBorderConstraints
| Fields inherited from class net.sf.sfac.gui.layout.MultiBorder |
enclosedCells, height, nestedBorders, paintedBorder, paintedBorderInsets, updatedInsets, width, x, y |
| Methods inherited from class net.sf.sfac.gui.layout.MultiBorder |
adaptCellSizes, add, addExtraComponents, containsCell, dispose, getBorderInsets, getPaintedBorderInsets, getUpdatedInsets, isBorderEnabled, isBorderOpaque, isBorderVisible, isEmpty, layout, paint, paintBorder, registerExtraComponent, setBorderEnabled, setBorderVisible, setLayout, setNestedBorder, toString |
FileProcessorBorder
public FileProcessorBorder(ComboBoxModel allChoices)
- Creates an ExpandBorder using an EtchedBorder.
FileProcessorBorder
public FileProcessorBorder(JComboBox choicesCombo)
- Creates an ExpandBorder using an EtchedBorder.
removePerformed
public void removePerformed()
addPerformed
public void addPerformed()
setAddButtonEnabled
public void setAddButtonEnabled(boolean enabled)
isAddButtonEnabled
public boolean isAddButtonEnabled()
setRemoveButtonEnabled
public void setRemoveButtonEnabled(boolean enabled)
isRemoveButtonEnabled
public boolean isRemoveButtonEnabled()
registerExtraComponents
protected void registerExtraComponents()
- Check that the expand button is well added at the end of the list of border components. If not, add It.
- Overrides:
registerExtraComponents in class net.sf.sfac.gui.layout.MultiBorder
layoutExtraComponents
protected void layoutExtraComponents(Container cont)
- Overrides:
layoutExtraComponents in class net.sf.sfac.gui.layout.MultiBorder
updateInsets
protected void updateInsets(Insets insetToUpdate)
- Overrides:
updateInsets in class net.sf.sfac.gui.layout.MultiBorder
addBorderListsner
public void addBorderListsner(FileProcessorBorder.Listener lis)
removeBorderListsner
public void removeBorderListsner(FileProcessorBorder.Listener lis)
Copyright © 2010. All Rights Reserved.