public interface Application
Modifier and Type | Method and Description |
---|---|
void |
addVisitedURI(java.lang.String uri)
Notifies Application of recently visited URI
|
boolean |
canLoadScriptType(java.lang.String scriptType)
Returns true if the input scriptType can be loaded in
this application.
|
void |
closeJSVGViewerFrame(JSVGViewerFrame f)
Closes the given viewer frame.
|
JSVGViewerFrame |
createAndShowJSVGViewerFrame()
Creates and shows a new viewer frame.
|
javax.swing.Action |
createExitAction(JSVGViewerFrame vf)
Creates an action to exit the application.
|
int |
getAllowedExternalResourceOrigin()
Returns the allowed origins for external
resources.
|
int |
getAllowedScriptOrigin()
Returns the allowed origins for scripts.
|
java.lang.String |
getDefaultFontFamily()
Returns the default value for the CSS
"font-family" property
|
java.lang.String |
getLanguages()
Returns the user languages.
|
java.lang.String |
getMedia()
Returns the CSS media to use.
|
java.lang.String |
getUISpecialization()
Returns the UI resource specialization to use.
|
java.lang.String |
getUserStyleSheetURI()
Returns the user stylesheet uri.
|
java.lang.String[] |
getVisitedURIs()
Asks Application for a list of recently visited URI
|
java.lang.String |
getXMLParserClassName()
Returns the XML parser class name.
|
boolean |
isSelectionOverlayXORMode()
Returns true if the selection overlay is painted in XOR mode, false
otherwise.
|
boolean |
isXMLParserValidating()
Returns true if the XML parser must be in validation mode, false
otherwise.
|
void |
openLink(java.lang.String url)
Opens the given link in a new window.
|
void |
showPreferenceDialog(JSVGViewerFrame f)
Shows the preference dialog.
|
JSVGViewerFrame createAndShowJSVGViewerFrame()
void closeJSVGViewerFrame(JSVGViewerFrame f)
javax.swing.Action createExitAction(JSVGViewerFrame vf)
void openLink(java.lang.String url)
java.lang.String getXMLParserClassName()
boolean isXMLParserValidating()
void showPreferenceDialog(JSVGViewerFrame f)
java.lang.String getLanguages()
java.lang.String getUserStyleSheetURI()
java.lang.String getDefaultFontFamily()
java.lang.String getMedia()
boolean isSelectionOverlayXORMode()
boolean canLoadScriptType(java.lang.String scriptType)
int getAllowedScriptOrigin()
ResourceOrigin
int getAllowedExternalResourceOrigin()
ResourceOrigin
void addVisitedURI(java.lang.String uri)
java.lang.String[] getVisitedURIs()
java.lang.String getUISpecialization()
Copyright © 2022 Apache Software Foundation. All Rights Reserved.