public class DefaultFragmentIdentifierHandler extends DefaultPreserveAspectRatioHandler implements FragmentIdentifierHandler
| Modifier and Type | Field and Description |
|---|---|
static FragmentIdentifierHandler |
INSTANCE
The only instance of this class.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DefaultFragmentIdentifierHandler()
This class does not need to be instantiated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
endFragmentIdentifier()
|
void |
endTransformList()
Implements
TransformListHandler.endTransformList(). |
void |
endViewTarget()
Invoked when a view target specification ends.
|
void |
idReference(String s)
Invoked when an ID has been parsed.
|
void |
matrix(float a,
float b,
float c,
float d,
float e,
float f)
|
void |
rotate(float theta)
Implements
TransformListHandler.rotate(float). |
void |
rotate(float theta,
float cx,
float cy)
Implements
TransformListHandler.rotate(float,float,float). |
void |
scale(float sx)
Implements
TransformListHandler.scale(float). |
void |
scale(float sx,
float sy)
Implements
TransformListHandler.scale(float,float). |
void |
skewX(float skx)
Implements
TransformListHandler.skewX(float). |
void |
skewY(float sky)
Implements
TransformListHandler.skewY(float). |
void |
startFragmentIdentifier()
|
void |
startTransformList()
Implements
TransformListHandler.startTransformList(). |
void |
startViewTarget()
Invoked when a view target specification starts.
|
void |
translate(float tx)
Implements
TransformListHandler.translate(float). |
void |
translate(float tx,
float ty)
Implements
TransformListHandler.translate(float,float). |
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 view target component has been parsed.
|
void |
zoomAndPan(boolean magnify)
Invoked when a 'zoomAndPan' specification has been parsed.
|
endPreserveAspectRatio, meet, none, slice, startPreserveAspectRatio, xMaxYMax, xMaxYMid, xMaxYMin, xMidYMax, xMidYMid, xMidYMin, xMinYMax, xMinYMid, xMinYMinclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendPreserveAspectRatio, meet, none, slice, startPreserveAspectRatio, xMaxYMax, xMaxYMid, xMaxYMin, xMidYMax, xMidYMid, xMidYMin, xMinYMax, xMinYMid, xMinYMinpublic static final FragmentIdentifierHandler INSTANCE
protected DefaultFragmentIdentifierHandler()
public void startFragmentIdentifier()
throws ParseException
startFragmentIdentifier in interface FragmentIdentifierHandlerParseException - if an error occured while processing the
fragment identifierpublic void idReference(String s) throws ParseException
idReference in interface FragmentIdentifierHandlers - The string that represents the parsed ID.ParseException - if an error occured while processing the
fragment identifierpublic void viewBox(float x,
float y,
float width,
float height)
throws ParseException
viewBox in interface FragmentIdentifierHandlerx - the x coordinate of the viewbox.y - the y coordinate of the viewbox.width - the width of the viewbox.height - the height of the viewbox.ParseException - if an error occured while processing the
fragment identifierpublic void startViewTarget()
throws ParseException
startViewTarget in interface FragmentIdentifierHandlerParseException - if an error occured while processing the
fragment identifierpublic void viewTarget(String name) throws ParseException
viewTarget in interface FragmentIdentifierHandlername - the target name.ParseException - if an error occured while processing the
fragment identifierpublic void endViewTarget()
throws ParseException
endViewTarget in interface FragmentIdentifierHandlerParseException - if an error occured while processing the
fragment identifierpublic void startTransformList()
throws ParseException
TransformListHandler.startTransformList().startTransformList in interface TransformListHandlerParseException - if an error occured while processing
the transformpublic void matrix(float a,
float b,
float c,
float d,
float e,
float f)
throws ParseException
matrix in interface TransformListHandlerParseException - if an error occured while processing
the transformpublic void rotate(float theta)
throws ParseException
TransformListHandler.rotate(float).rotate in interface TransformListHandlerParseException - if an error occured while processing
the transformpublic void rotate(float theta,
float cx,
float cy)
throws ParseException
TransformListHandler.rotate(float,float,float).rotate in interface TransformListHandlerParseException - if an error occured while processing
the transformpublic void translate(float tx)
throws ParseException
TransformListHandler.translate(float).translate in interface TransformListHandlerParseException - if an error occured while processing
the transformpublic void translate(float tx,
float ty)
throws ParseException
TransformListHandler.translate(float,float).translate in interface TransformListHandlerParseException - if an error occured while processing
the transformpublic void scale(float sx)
throws ParseException
TransformListHandler.scale(float).scale in interface TransformListHandlerParseException - if an error occured while processing
the transformpublic void scale(float sx,
float sy)
throws ParseException
TransformListHandler.scale(float,float).scale in interface TransformListHandlerParseException - if an error occured while processing
the transformpublic void skewX(float skx)
throws ParseException
TransformListHandler.skewX(float).skewX in interface TransformListHandlerParseException - if an error occured while processing
the transformpublic void skewY(float sky)
throws ParseException
TransformListHandler.skewY(float).skewY in interface TransformListHandlerParseException - if an error occured while processing
the transformpublic void endTransformList()
throws ParseException
TransformListHandler.endTransformList().endTransformList in interface TransformListHandlerParseException - if an error occured while processing
the transformpublic void zoomAndPan(boolean magnify)
zoomAndPan in interface FragmentIdentifierHandlermagnify - true if 'magnify' has been parsed.ParseException - if an error occured while processing the
fragment identifierpublic void endFragmentIdentifier()
throws ParseException
endFragmentIdentifier in interface FragmentIdentifierHandlerParseException - if an error occured while processing the
fragment identifierCopyright © 2000–2024 Apache Software Foundation. All rights reserved.