Class ConvertPanel
java.lang.Object
slash.navigation.converter.gui.panels.ConvertPanel
- All Implemented Interfaces:
PanelInTab
The convert panel of the route converter user interface.
- Author:
- Christian Pesch
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidint[]computeInsignificantPositions(double threshold) int[]computeInsignificantPositions(double threshold, List<? extends NavigationPosition> positions) booleanstatic StringThe lock counters of all sponsor features, encoded for the update-check.voidvoidvoidvoidnewFile()voidopenFile()voidopenPositionList(List<URL> urls) voidvoidrenamePositionList(String name) voidvoidsaveFile()int[]selectAllButEveryNthPosition(int order) intselectInsignificantPositions(double threshold) voidselectPositions(int[] selectedPositions) intselectPositionsWithinDistanceToPredecessor(double distance) intselectPositionsWithSpeedBelowOrEqualTo(double kmh) voidshiftTimesAfterPauses(int[] indices)
-
Field Details
-
LOCK_SHOWN_PREFERENCE
- See Also:
-
LOCK_CLICKED_PREFERENCE
- See Also:
-
LOCK_LOGIN_PREFERENCE
- See Also:
-
-
Constructor Details
-
ConvertPanel
public ConvertPanel()
-
-
Method Details
-
getRootComponent
- Specified by:
getRootComponentin interfacePanelInTab
-
getLocalName
- Specified by:
getLocalNamein interfacePanelInTab
-
getFocusComponent
- Specified by:
getFocusComponentin interfacePanelInTab
-
getDefaultButton
- Specified by:
getDefaultButtonin interfacePanelInTab
-
initializeSelection
public void initializeSelection()- Specified by:
initializeSelectionin interfacePanelInTab
-
openUrls
-
openFile
public void openFile() -
openPositionList
-
newFile
public void newFile() -
importPositionList
public void importPositionList() -
exportPositionList
public void exportPositionList() -
saveFile
public void saveFile() -
saveAsFile
public void saveAsFile() -
confirmDiscard
public boolean confirmDiscard() -
getPositionsView
-
encodeFeatureLocks
The lock counters of all sponsor features, encoded for the update-check. -
getFormatAndRoutesModel
-
getPositionsModel
-
getPositionsSelectionModel
-
getUrlModel
-
getRecentUrlsModel
-
selectPositions
public void selectPositions(int[] selectedPositions) -
selectPositionsWithinDistanceToPredecessor
public int selectPositionsWithinDistanceToPredecessor(double distance) -
selectPositionsWithSpeedBelowOrEqualTo
public int selectPositionsWithSpeedBelowOrEqualTo(double kmh) -
selectAllButEveryNthPosition
public int[] selectAllButEveryNthPosition(int order) -
computeInsignificantPositions
- Throws:
InterruptedException
-
computeInsignificantPositions
public int[] computeInsignificantPositions(double threshold, List<? extends NavigationPosition> positions) throws InterruptedException - Throws:
InterruptedException
-
selectInsignificantPositions
- Throws:
InterruptedException
-
clearSelection
public void clearSelection() -
shiftTimesAfterPauses
public void shiftTimesAfterPauses(int[] indices) -
renamePositionList
-
$$$getRootComponent$$$
-