public class GeoNamesExtractorSelector
extends javax.swing.JDialog
javax.swing.JDialog.AccessibleJDialog
java.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityType
java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type
Modifier and Type | Field and Description |
---|---|
private boolean |
accepted |
private static java.lang.String |
apikey |
static java.lang.String |
BASE_URL |
private javax.swing.JPanel |
buttonPanel |
private javax.swing.JSeparator |
buttonSeparator |
private javax.swing.JButton |
cancelButton |
private javax.swing.JButton |
childrenGetContextButton |
private javax.swing.JLabel |
childrenLabel |
private javax.swing.JPanel |
childrenPanel |
private javax.swing.JPanel |
childrenPanelInner |
private javax.swing.JTextField |
childrenTextField |
private javax.swing.JPanel |
citiesCoordinatesPanel |
private javax.swing.JTextField |
citiesEastTextField |
private javax.swing.JButton |
citiesGetContextButton |
private javax.swing.JLabel |
citiesLabel |
private javax.swing.JTextField |
citiesNorthTextField |
private javax.swing.JPanel |
citiesPanel |
private javax.swing.JPanel |
citiesPanelInner |
private javax.swing.JTextField |
citiesSouthTextField |
private javax.swing.JTextField |
citiesWestTextField |
private Context |
context |
private javax.swing.JButton |
countryInfoButton |
private javax.swing.JComboBox |
countryInfoComboBox |
private javax.swing.JLabel |
countryInfoLabel |
private javax.swing.JPanel |
countryInfoPanel |
private javax.swing.JPanel |
countryInfoPanelInner |
private javax.swing.JPanel |
fillerPanel |
private javax.swing.JPanel |
findNearByCoordinatesPanel |
private javax.swing.JComboBox |
findNearByFeatureComboBox |
private javax.swing.JLabel |
findNearByFeatureLabel |
private javax.swing.JPanel |
findNearByFilterPanel |
private javax.swing.JButton |
findNearByGetContextButton |
private javax.swing.JLabel |
findNearByLabel |
private javax.swing.JLabel |
findNearByLatLabel |
private javax.swing.JTextField |
findNearByLatTextField |
private javax.swing.JLabel |
findNearByLonLabel |
private javax.swing.JTextField |
findNearByLonTextField |
private javax.swing.JPanel |
findNearByPanel |
private javax.swing.JPanel |
findNearByPanelInner |
private javax.swing.JLabel |
findNearByradiusLabel |
private javax.swing.JTextField |
findNearByRadiusTextField |
private javax.swing.JButton |
forgetButton |
private javax.swing.JTabbedPane |
geoNamesTabbedPane |
private javax.swing.JButton |
hierarchyGetContextButton |
private javax.swing.JLabel |
hierarchyLabel |
private javax.swing.JPanel |
hierarchyPanel |
private javax.swing.JPanel |
hierarchyPanelInner |
private javax.swing.JTextField |
hierarchyTextField |
private javax.swing.JLabel |
langLabel |
private javax.swing.JPanel |
langPanel |
private javax.swing.JTextField |
langTextField |
private javax.swing.JLabel |
neigboursLabel |
private javax.swing.JButton |
neighboursGetContextButton |
private javax.swing.JPanel |
neighboursPanel |
private javax.swing.JPanel |
neighboursPanelInner |
private javax.swing.JTextField |
neighboursTextField |
private javax.swing.JButton |
okButton |
private javax.swing.JComboBox |
searchContinentComboBox |
private javax.swing.JLabel |
searchContinentLabel |
private javax.swing.JComboBox |
searchCountryComboBox |
private javax.swing.JLabel |
searchCountryLabel |
private javax.swing.JComboBox |
searchFeatureClassComboBox |
private javax.swing.JLabel |
searchFeatureLabel |
private javax.swing.JPanel |
searchFilterPanel |
private javax.swing.JCheckBox |
searchIsNameRequiredCheckBox |
private javax.swing.JLabel |
searchIsNameRequiredLabel |
private javax.swing.JLabel |
searchLabel |
private javax.swing.JPanel |
searchPanel |
private javax.swing.JPanel |
searchPanelInner |
private javax.swing.JTextField |
searchTextField |
private javax.swing.JButton |
siblingsGetContextButton |
private javax.swing.JLabel |
siblingsLabel |
private javax.swing.JPanel |
siblingsPanel |
private javax.swing.JPanel |
siblingsPanelInner |
private javax.swing.JTextField |
siblingsTextField |
private Wandora |
wandora |
private javax.swing.JPanel |
weatherCoordinatesPanel |
private javax.swing.JButton |
weatherGetContextButton |
private javax.swing.JLabel |
weatherLabel |
private javax.swing.JLabel |
weatherLatLabel |
private javax.swing.JTextField |
weatherLatTextField |
private javax.swing.JLabel |
weatherLonLabel |
private javax.swing.JTextField |
weatherLonTextField |
private javax.swing.JPanel |
weatherPanel |
private javax.swing.JPanel |
weatherPanelInner |
private javax.swing.JPanel |
wikiBoxCoordinatesPanel |
private javax.swing.JTextField |
wikiBoxEastTextField |
private javax.swing.JButton |
wikiBoxGetContextButton |
private javax.swing.JLabel |
wikiBoxLabel |
private javax.swing.JTextField |
wikiBoxNorthTextField |
private javax.swing.JPanel |
wikiBoxPanel |
private javax.swing.JPanel |
wikiBoxPanelInner |
private javax.swing.JTextField |
wikiBoxSouthTextField |
private javax.swing.JTextField |
wikiBoxWestTextField |
private javax.swing.JLabel |
wikiSearchLabel |
private javax.swing.JPanel |
wikiSearchPanel |
private javax.swing.JPanel |
wikiSearchPanelInner |
private javax.swing.JTextField |
wikiSearchTextField |
accessibleContext, rootPane, rootPaneCheckingEnabled
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Constructor and Description |
---|
GeoNamesExtractorSelector(Wandora w)
Creates new form GeoNamesExtractorSelector
|
Modifier and Type | Method and Description |
---|---|
private void |
cancelButtonActionPerformed(java.awt.event.ActionEvent evt) |
private void |
childrenGetContextButtonActionPerformed(java.awt.event.ActionEvent evt) |
private void |
citiesEastTextFieldFocusGained(java.awt.event.FocusEvent evt) |
private void |
citiesGetContextButtonActionPerformed(java.awt.event.ActionEvent evt) |
private void |
citiesNorthTextFieldFocusGained(java.awt.event.FocusEvent evt) |
private void |
citiesSouthTextFieldFocusGained(java.awt.event.FocusEvent evt) |
private void |
citiesWestTextFieldFocusGained(java.awt.event.FocusEvent evt) |
java.lang.String[] |
commaSplitter(java.lang.String str) |
java.lang.String[] |
completeString(java.lang.String template,
java.lang.String[] strs) |
java.lang.String[] |
completeString(java.lang.String template,
java.lang.String[] strs1,
java.lang.String[] strs2) |
private void |
countryInfoButtonActionPerformed(java.awt.event.ActionEvent evt) |
private void |
findNearByGetContextButtonActionPerformed(java.awt.event.ActionEvent evt) |
void |
forgetAuthorization() |
java.lang.String |
getRequestLanguage() |
WandoraTool |
getWandoraTool(WandoraTool parentTool) |
private void |
hierarchyGetContextButtonActionPerformed(java.awt.event.ActionEvent evt) |
private void |
initComponents()
This method is called from within the constructor to
initialize the form.
|
void |
initGUIDatas() |
private void |
neighboursGetContextButtonActionPerformed(java.awt.event.ActionEvent evt) |
private void |
okButtonActionPerformed(java.awt.event.ActionEvent evt) |
void |
setAccepted(boolean b) |
void |
setContext(Context context) |
void |
setVisible(boolean v) |
void |
setWandora(Wandora w) |
private void |
siblingsGetContextButtonActionPerformed(java.awt.event.ActionEvent evt) |
java.lang.String |
solveAPIKey() |
void |
solveCountryContext() |
java.lang.String |
solveGeonameIdContext() |
Tuples.T4 |
solveGPSBoundingBox() |
Tuples.T2 |
solveGPSLocation() |
java.lang.String |
urlEncode(java.lang.String url) |
java.lang.String[] |
urlEncode(java.lang.String[] urls) |
boolean |
wasAccepted() |
private void |
weatherGetContextButtonActionPerformed(java.awt.event.ActionEvent evt) |
private void |
wikiBoxEastTextFieldFocusGained(java.awt.event.FocusEvent evt) |
private void |
wikiBoxGetContextButtonActionPerformed(java.awt.event.ActionEvent evt) |
private void |
wikiBoxNorthTextFieldFocusGained(java.awt.event.FocusEvent evt) |
private void |
wikiBoxSouthTextFieldFocusGained(java.awt.event.FocusEvent evt) |
private void |
wikiBoxWestTextFieldFocusGained(java.awt.event.FocusEvent evt) |
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, show, toBack
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFront
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public static java.lang.String BASE_URL
private Wandora wandora
private Context context
private boolean accepted
private javax.swing.JPanel buttonPanel
private javax.swing.JSeparator buttonSeparator
private javax.swing.JButton cancelButton
private javax.swing.JButton childrenGetContextButton
private javax.swing.JLabel childrenLabel
private javax.swing.JPanel childrenPanel
private javax.swing.JPanel childrenPanelInner
private javax.swing.JTextField childrenTextField
private javax.swing.JPanel citiesCoordinatesPanel
private javax.swing.JTextField citiesEastTextField
private javax.swing.JButton citiesGetContextButton
private javax.swing.JLabel citiesLabel
private javax.swing.JTextField citiesNorthTextField
private javax.swing.JPanel citiesPanel
private javax.swing.JPanel citiesPanelInner
private javax.swing.JTextField citiesSouthTextField
private javax.swing.JTextField citiesWestTextField
private javax.swing.JButton countryInfoButton
private javax.swing.JComboBox countryInfoComboBox
private javax.swing.JLabel countryInfoLabel
private javax.swing.JPanel countryInfoPanel
private javax.swing.JPanel countryInfoPanelInner
private javax.swing.JPanel fillerPanel
private javax.swing.JPanel findNearByCoordinatesPanel
private javax.swing.JComboBox findNearByFeatureComboBox
private javax.swing.JLabel findNearByFeatureLabel
private javax.swing.JPanel findNearByFilterPanel
private javax.swing.JButton findNearByGetContextButton
private javax.swing.JLabel findNearByLabel
private javax.swing.JLabel findNearByLatLabel
private javax.swing.JTextField findNearByLatTextField
private javax.swing.JLabel findNearByLonLabel
private javax.swing.JTextField findNearByLonTextField
private javax.swing.JPanel findNearByPanel
private javax.swing.JPanel findNearByPanelInner
private javax.swing.JTextField findNearByRadiusTextField
private javax.swing.JLabel findNearByradiusLabel
private javax.swing.JButton forgetButton
private javax.swing.JTabbedPane geoNamesTabbedPane
private javax.swing.JButton hierarchyGetContextButton
private javax.swing.JLabel hierarchyLabel
private javax.swing.JPanel hierarchyPanel
private javax.swing.JPanel hierarchyPanelInner
private javax.swing.JTextField hierarchyTextField
private javax.swing.JLabel langLabel
private javax.swing.JPanel langPanel
private javax.swing.JTextField langTextField
private javax.swing.JLabel neigboursLabel
private javax.swing.JButton neighboursGetContextButton
private javax.swing.JPanel neighboursPanel
private javax.swing.JPanel neighboursPanelInner
private javax.swing.JTextField neighboursTextField
private javax.swing.JButton okButton
private javax.swing.JComboBox searchContinentComboBox
private javax.swing.JLabel searchContinentLabel
private javax.swing.JComboBox searchCountryComboBox
private javax.swing.JLabel searchCountryLabel
private javax.swing.JComboBox searchFeatureClassComboBox
private javax.swing.JLabel searchFeatureLabel
private javax.swing.JPanel searchFilterPanel
private javax.swing.JCheckBox searchIsNameRequiredCheckBox
private javax.swing.JLabel searchIsNameRequiredLabel
private javax.swing.JLabel searchLabel
private javax.swing.JPanel searchPanel
private javax.swing.JPanel searchPanelInner
private javax.swing.JTextField searchTextField
private javax.swing.JButton siblingsGetContextButton
private javax.swing.JLabel siblingsLabel
private javax.swing.JPanel siblingsPanel
private javax.swing.JPanel siblingsPanelInner
private javax.swing.JTextField siblingsTextField
private javax.swing.JPanel weatherCoordinatesPanel
private javax.swing.JButton weatherGetContextButton
private javax.swing.JLabel weatherLabel
private javax.swing.JLabel weatherLatLabel
private javax.swing.JTextField weatherLatTextField
private javax.swing.JLabel weatherLonLabel
private javax.swing.JTextField weatherLonTextField
private javax.swing.JPanel weatherPanel
private javax.swing.JPanel weatherPanelInner
private javax.swing.JPanel wikiBoxCoordinatesPanel
private javax.swing.JTextField wikiBoxEastTextField
private javax.swing.JButton wikiBoxGetContextButton
private javax.swing.JLabel wikiBoxLabel
private javax.swing.JTextField wikiBoxNorthTextField
private javax.swing.JPanel wikiBoxPanel
private javax.swing.JPanel wikiBoxPanelInner
private javax.swing.JTextField wikiBoxSouthTextField
private javax.swing.JTextField wikiBoxWestTextField
private javax.swing.JLabel wikiSearchLabel
private javax.swing.JPanel wikiSearchPanel
private javax.swing.JPanel wikiSearchPanelInner
private javax.swing.JTextField wikiSearchTextField
private static java.lang.String apikey
public GeoNamesExtractorSelector(Wandora w)
public void initGUIDatas()
public void setWandora(Wandora w)
public void setContext(Context context)
public void setVisible(boolean v)
setVisible
in class java.awt.Dialog
public boolean wasAccepted()
public void setAccepted(boolean b)
public WandoraTool getWandoraTool(WandoraTool parentTool)
public java.lang.String[] commaSplitter(java.lang.String str)
public java.lang.String[] completeString(java.lang.String template, java.lang.String[] strs)
public java.lang.String[] completeString(java.lang.String template, java.lang.String[] strs1, java.lang.String[] strs2)
public java.lang.String[] urlEncode(java.lang.String[] urls)
public java.lang.String urlEncode(java.lang.String url)
public void solveCountryContext()
public Tuples.T2 solveGPSLocation()
public Tuples.T4 solveGPSBoundingBox()
public java.lang.String solveGeonameIdContext()
public java.lang.String getRequestLanguage()
private void initComponents()
private void okButtonActionPerformed(java.awt.event.ActionEvent evt)
private void cancelButtonActionPerformed(java.awt.event.ActionEvent evt)
private void countryInfoButtonActionPerformed(java.awt.event.ActionEvent evt)
private void citiesNorthTextFieldFocusGained(java.awt.event.FocusEvent evt)
private void citiesWestTextFieldFocusGained(java.awt.event.FocusEvent evt)
private void citiesSouthTextFieldFocusGained(java.awt.event.FocusEvent evt)
private void citiesEastTextFieldFocusGained(java.awt.event.FocusEvent evt)
private void childrenGetContextButtonActionPerformed(java.awt.event.ActionEvent evt)
private void citiesGetContextButtonActionPerformed(java.awt.event.ActionEvent evt)
private void hierarchyGetContextButtonActionPerformed(java.awt.event.ActionEvent evt)
private void neighboursGetContextButtonActionPerformed(java.awt.event.ActionEvent evt)
private void siblingsGetContextButtonActionPerformed(java.awt.event.ActionEvent evt)
private void findNearByGetContextButtonActionPerformed(java.awt.event.ActionEvent evt)
private void weatherGetContextButtonActionPerformed(java.awt.event.ActionEvent evt)
private void wikiBoxNorthTextFieldFocusGained(java.awt.event.FocusEvent evt)
private void wikiBoxSouthTextFieldFocusGained(java.awt.event.FocusEvent evt)
private void wikiBoxEastTextFieldFocusGained(java.awt.event.FocusEvent evt)
private void wikiBoxWestTextFieldFocusGained(java.awt.event.FocusEvent evt)
private void wikiBoxGetContextButtonActionPerformed(java.awt.event.ActionEvent evt)
public java.lang.String solveAPIKey()
public void forgetAuthorization()
Copyright 2004-2015 Wandora Team