protected static class ViewBox.ViewHandler extends AWTTransformProducer implements FragmentIdentifierHandler
| Modifier and Type | Field and Description |
|---|---|
short |
align |
boolean |
hasId |
boolean |
hasPreserveAspectRatio |
boolean |
hasTransform |
boolean |
hasViewBox |
boolean |
hasViewTargetParams |
boolean |
hasZoomAndPanParams |
String |
id |
boolean |
isMagnify |
boolean |
meet |
float[] |
viewBox |
String |
viewTargetParams |
affineTransform| Modifier | Constructor and Description |
|---|---|
protected |
ViewHandler()
Constructs a new
ViewHandler instance. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
createAffineTransform, createAffineTransform, getAffineTransform, matrix, rotate, rotate, scale, scale, skewX, skewY, startTransformList, translate, translatepublic boolean hasTransform
public boolean hasId
public boolean hasViewBox
public boolean hasViewTargetParams
public boolean hasZoomAndPanParams
public String id
public float[] viewBox
public String viewTargetParams
public boolean isMagnify
public boolean hasPreserveAspectRatio
public short align
public boolean meet
public void endTransformList()
throws ParseException
endTransformList in interface TransformListHandlerendTransformList in class AWTTransformProducerParseExceptionpublic 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 viewbox x coordinatey - the viewbox y coordinatewidth - the viewbox widthheight - the viewbox heightParseException - 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 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 identifierpublic void startPreserveAspectRatio()
throws ParseException
startPreserveAspectRatio in interface PreserveAspectRatioHandlerParseException - if an error occured while processing
the transformpublic void none()
throws ParseException
none in interface PreserveAspectRatioHandlerParseException - if an error occured while processing
the transformpublic void xMaxYMax()
throws ParseException
xMaxYMax in interface PreserveAspectRatioHandlerParseException - if an error occured while processing
the transformpublic void xMaxYMid()
throws ParseException
xMaxYMid in interface PreserveAspectRatioHandlerParseException - if an error occured while processing
the transformpublic void xMaxYMin()
throws ParseException
xMaxYMin in interface PreserveAspectRatioHandlerParseException - if an error occured while processing
the transformpublic void xMidYMax()
throws ParseException
xMidYMax in interface PreserveAspectRatioHandlerParseException - if an error occured while processing
the transformpublic void xMidYMid()
throws ParseException
xMidYMid in interface PreserveAspectRatioHandlerParseException - if an error occured while processing
the transformpublic void xMidYMin()
throws ParseException
xMidYMin in interface PreserveAspectRatioHandlerParseException - if an error occured while processing
the transformpublic void xMinYMax()
throws ParseException
xMinYMax in interface PreserveAspectRatioHandlerParseException - if an error occured while processing
the transformpublic void xMinYMid()
throws ParseException
xMinYMid in interface PreserveAspectRatioHandlerParseException - if an error occured while processing
the transformpublic void xMinYMin()
throws ParseException
xMinYMin in interface PreserveAspectRatioHandlerParseException - if an error occured while processing
the transformpublic void meet()
throws ParseException
meet in interface PreserveAspectRatioHandlerParseException - if an error occured while processing
the transformpublic void slice()
throws ParseException
slice in interface PreserveAspectRatioHandlerParseException - if an error occured while processing
the transformpublic void endPreserveAspectRatio()
throws ParseException
endPreserveAspectRatio in interface PreserveAspectRatioHandlerParseException - if an error occured while processing
the transformCopyright © 2000–2024 Apache Software Foundation. All rights reserved.