public abstract class DelegateView extends View
| Modifier and Type | Field and Description |
|---|---|
protected View |
delegate |
BadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXISBOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST| Constructor and Description |
|---|
DelegateView(View delegate) |
forwardUpdate, forwardUpdateToView, paint, updateChildren, updateLayoutprotected View delegate
public DelegateView(View delegate)
public View breakView(int axis, int offset, float pos, float len)
public void changedUpdate(DocumentEvent e, Shape a, ViewFactory f)
changedUpdate in class Viewpublic View createFragment(int p0, int p1)
createFragment in class Viewpublic float getAlignment(int axis)
getAlignment in class Viewpublic AttributeSet getAttributes()
getAttributes in class Viewpublic int getBreakWeight(int axis,
float pos,
float len)
getBreakWeight in class Viewpublic Shape getChildAllocation(int index, Shape a)
getChildAllocation in class Viewpublic Container getContainer()
getContainer in class Viewpublic Document getDocument()
getDocument in class Viewpublic Element getElement()
getElement in class Viewpublic int getEndOffset()
getEndOffset in class Viewpublic Graphics getGraphics()
getGraphics in class Viewpublic float getMaximumSpan(int axis)
getMaximumSpan in class Viewpublic float getMinimumSpan(int axis)
getMinimumSpan in class Viewpublic int getNextVisualPositionFrom(int pos,
Position.Bias b,
Shape a,
int direction,
Position.Bias[] biasRet)
throws BadLocationException
getNextVisualPositionFrom in class ViewBadLocationExceptionpublic float getPreferredSpan(int axis)
getPreferredSpan in class Viewpublic int getResizeWeight(int axis)
getResizeWeight in class Viewpublic int getStartOffset()
getStartOffset in class Viewpublic String getToolTipText(float x, float y, Shape allocation)
getToolTipText in class Viewpublic int getViewCount()
getViewCount in class Viewpublic ViewFactory getViewFactory()
getViewFactory in class Viewpublic int getViewIndex(float x,
float y,
Shape allocation)
getViewIndex in class Viewpublic int getViewIndex(int pos,
Position.Bias b)
getViewIndex in class Viewpublic void insertUpdate(DocumentEvent e, Shape a, ViewFactory f)
insertUpdate in class Viewpublic Shape modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Shape a) throws BadLocationException
modelToView in class ViewBadLocationExceptionpublic Shape modelToView(int pos, Shape a, Position.Bias b) throws BadLocationException
modelToView in class ViewBadLocationExceptionpublic Shape modelToView(int pos, Shape a) throws BadLocationException
modelToView in class ViewBadLocationExceptionpublic void preferenceChanged(View child, boolean width, boolean height)
preferenceChanged in class Viewpublic void removeUpdate(DocumentEvent e, Shape a, ViewFactory f)
removeUpdate in class Viewpublic int viewToModel(float x,
float y,
Shape a,
Position.Bias[] biasReturn)
viewToModel in class Viewpublic int viewToModel(float x,
float y,
Shape a)
viewToModel in class ViewCopyright © 2016 Imatia Innovation S.L.. All rights reserved.