org.apache.batik.apps.svgbrowser
public interface Application
Method Summary | |
---|---|
void | addVisitedURI(String uri)
Notifies Application of recently visited URI |
boolean | canLoadScriptType(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. |
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. |
String | getDefaultFontFamily()
Returns the default value for the CSS
"font-family" property |
String | getLanguages()
Returns the user languages. |
String | getMedia()
Returns the CSS media to use. |
String | getUISpecialization()
Returns the UI resource specialization to use. |
String | getUserStyleSheetURI()
Returns the user stylesheet uri. |
String[] | getVisitedURIs()
Asks Application for a list of recently visited URI |
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(String url)
Opens the given link in a new window. |
void | showPreferenceDialog(JSVGViewerFrame f)
Shows the preference dialog. |
See Also: ResourceOrigin
See Also: ResourceOrigin
Returns: empty string if no CSS media was specified.
Returns: null if no user style sheet was specified.