|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectus.zuercher.gpx2map.gui.MarkerStyleComboBoxModel.FileStyleChoice
public static class MarkerStyleComboBoxModel.FileStyleChoice
StyleChoice represents a choice of MarkerStyle.
Constructor Summary | |
---|---|
private |
MarkerStyleComboBoxModel.FileStyleChoice()
|
Method Summary | |
---|---|
MarkerStyle |
getStyle(File markerFile)
Returns the style associated with this style choice. |
boolean |
requiresFile()
Returns true since this style choice always requires a file. |
String |
toString()
Returns the display name for this style choice. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
private MarkerStyleComboBoxModel.FileStyleChoice()
Method Detail |
---|
public MarkerStyle getStyle(File markerFile) throws IOException
getStyle
in interface MarkerStyleComboBoxModel.StyleChoice
markerFile
- the marker file
IOException
- if the file cannot be converted into a markerpublic boolean requiresFile()
requiresFile
in interface MarkerStyleComboBoxModel.StyleChoice
public String toString()
toString
in interface MarkerStyleComboBoxModel.StyleChoice
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |