GrammarScope  4.0.0
Classes | Public Member Functions | Public Attributes | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
grammarscope.browser.dialog.UrlDialog Class Reference
Inheritance diagram for grammarscope.browser.dialog.UrlDialog:
Inheritance graph
[legend]
Collaboration diagram for grammarscope.browser.dialog.UrlDialog:
Collaboration graph
[legend]

Classes

class  ParameterModel
 

Public Member Functions

 UrlDialog (final String initialUrl)
 
String getURL ()
 
void setVisible (final boolean flag)
 

Public Attributes

boolean ok
 

Static Private Member Functions

static String makeURL (final String url, final String query)
 
static String getQuery (final ParameterModel model)
 
static Properties query2Properties (final String query)
 
static String properties2Query (final Properties params)
 
static String decode (final String str)
 
static String encode (final String str)
 

Private Attributes

String url
 
final JTextField urlTextField
 
final JTable queryTable
 

Static Private Attributes

static final long serialVersionUID = 1L
 

Detailed Description

URL dialog

Author
Bernard Bou

Constructor & Destructor Documentation

◆ UrlDialog()

grammarscope.browser.dialog.UrlDialog.UrlDialog ( final String  initialUrl)

Constructor

Parameters
initialUrlinitial url

Member Function Documentation

◆ decode()

static String grammarscope.browser.dialog.UrlDialog.decode ( final String  str)
staticprivate

Decode encoded URL (for display)

Parameters
strencoded URL string
Returns
decoded URL string

◆ encode()

static String grammarscope.browser.dialog.UrlDialog.encode ( final String  str)
staticprivate

Encode encoded URL

Parameters
strURL string
Returns
encoded URL string

◆ getQuery()

static String grammarscope.browser.dialog.UrlDialog.getQuery ( final ParameterModel  model)
staticprivate

Make query

Parameters
modelmodel
Returns
stringified query

◆ getURL()

String grammarscope.browser.dialog.UrlDialog.getURL ( )

Get URL

Returns
url

◆ makeURL()

static String grammarscope.browser.dialog.UrlDialog.makeURL ( final String  url,
final String  query 
)
staticprivate

Make url end point

Parameters
urlurl
queryquery
Returns
url end point

◆ properties2Query()

static String grammarscope.browser.dialog.UrlDialog.properties2Query ( final Properties  params)
staticprivate

Convert properties to query

Parameters
paramsproperties
Returns
query string

◆ query2Properties()

static Properties grammarscope.browser.dialog.UrlDialog.query2Properties ( final String  query)
staticprivate

Convert query to properties

Parameters
queryqueries
Returns
property set

◆ setVisible()

void grammarscope.browser.dialog.UrlDialog.setVisible ( final boolean  flag)

Member Data Documentation

◆ ok

boolean grammarscope.browser.dialog.UrlDialog.ok

Ok flag

◆ queryTable

final JTable grammarscope.browser.dialog.UrlDialog.queryTable
private

Parameter table

◆ serialVersionUID

final long grammarscope.browser.dialog.UrlDialog.serialVersionUID = 1L
staticprivate

◆ url

String grammarscope.browser.dialog.UrlDialog.url
private

◆ urlTextField

final JTextField grammarscope.browser.dialog.UrlDialog.urlTextField
private

URL


The documentation for this class was generated from the following file: