org.apache.batik.bridge
protected static class ViewBox.ViewHandler extends AWTTransformProducer implements FragmentIdentifierHandler
Field Summary | |
---|---|
short | align |
boolean | hasId |
boolean | hasPreserveAspectRatio |
boolean | hasTransform |
boolean | hasViewBox |
boolean | hasViewTargetParams |
boolean | hasZoomAndPanParams |
String | id |
boolean | isMagnify |
boolean | meet |
float[] | viewBox |
String | viewTargetParams |
Constructor Summary | |
---|---|
protected | ViewHandler()
Constructs a new ViewHandler instance. |
Method Summary | |
---|---|
void | endFragmentIdentifier()
Invoked when the fragment identifier ends. |
void | endPreserveAspectRatio()
Invoked when the PreserveAspectRatio parsing ends. |
void | endTransformList() |
void | endViewTarget()
Invoked when a view target specification ends. |
void | idReference(String s)
Invoked when an ID has been parsed. |
void | meet()
Invoked when 'meet' has been parsed. |
void | none()
Invoked when 'none' been parsed. |
void | slice()
Invoked when 'slice' has been parsed. |
void | startFragmentIdentifier()
Invoked when the fragment identifier starts. |
void | startPreserveAspectRatio()
Invoked when the PreserveAspectRatio parsing starts. |
void | startViewTarget()
Invoked when a view target specification starts. |
void | viewBox(float x, float y, float width, float height)
Invoked when 'viewBox(x,y,width,height)' has been parsed. |
void | viewTarget(String name)
Invoked when a identifier has been parsed within a view target
specification. |
void | xMaxYMax()
Invoked when 'xMaxYMax' has been parsed. |
void | xMaxYMid()
Invoked when 'xMaxYMid' has been parsed. |
void | xMaxYMin()
Invoked when 'xMaxYMin' has been parsed. |
void | xMidYMax()
Invoked when 'xMidYMax' has been parsed. |
void | xMidYMid()
Invoked when 'xMidYMid' has been parsed. |
void | xMidYMin()
Invoked when 'xMidYMin' has been parsed. |
void | xMinYMax()
Invoked when 'xMinYMax' has been parsed. |
void | xMinYMid()
Invoked when 'xMinYMid' has been parsed. |
void | xMinYMin()
Invoked when 'xMinYMin' has been parsed. |
void | zoomAndPan(boolean magnify)
Invoked when a 'zoomAndPan' specification has been parsed. |
Throws: ParseException if an error occured while processing the fragment identifier
Throws: ParseException if an error occured while processing the transform
Throws: ParseException if an error occured while processing the fragment identifier
Parameters: s The string that represents the parsed ID.
Throws: ParseException if an error occured while processing the fragment identifier
Throws: ParseException if an error occured while processing the transform
Throws: ParseException if an error occured while processing the transform
Throws: ParseException if an error occured while processing the transform
Throws: ParseException if an error occured while processing the fragment identifier
Throws: ParseException if an error occured while processing the transform
Throws: ParseException if an error occured while processing the fragment identifier
Parameters: x the viewbox x coordinate y the viewbox y coordinate width the viewbox width height the viewbox height
Throws: ParseException if an error occured while processing the fragment identifier
Parameters: name the target name.
Throws: ParseException if an error occured while processing the fragment identifier
Throws: ParseException if an error occured while processing the transform
Throws: ParseException if an error occured while processing the transform
Throws: ParseException if an error occured while processing the transform
Throws: ParseException if an error occured while processing the transform
Throws: ParseException if an error occured while processing the transform
Throws: ParseException if an error occured while processing the transform
Throws: ParseException if an error occured while processing the transform
Throws: ParseException if an error occured while processing the transform
Throws: ParseException if an error occured while processing the transform
Parameters: magnify true if 'magnify' has been parsed.
Throws: ParseException if an error occured while processing the fragment identifier