public ClipView content_view;
ClipView
.
public mutable Scroller scroller_h;
public mutable Scroller scroller_v;
public mutable int border_type;
boolean needs_tile;
id initFrame (float, float, float, float) (x, y, w, h);
void descendantFrameChanged View descendant;
superview
; do invoke tile
.
void drawSelf (float, float, float, float) (x, y, w, h);
void sizeTo (float, float) (x, y);
tile
after the resize.
void resizeSubviews (float, float) (old_w, old_h);
tile
.
void set_content_view ClipView view;
content_view
, which usually is a ClipView
. It will be
added as a subview, and resized to fit the document region of the
receiving ScrollView.
void set_document_view View view;
content_view
ClipView
.
void set_horizontal_scroller_required boolean yes_p;
yes_p
this ScrollView will have a horizontal scroller.
Otherwise, it will not.
void set_vertical_scroller_required boolean yes_p;
yes_p
this ScrollView will have a vertical scroller.
Otherwise, it will not.
private (boolean, double) (changed, new_pos) getNewPos Scroller scroller;
scroller
.
void getHorizontalFrom Scroller sender;
void getVerticalFrom Scroller sender;
void tile;
content_view
, its document_view
, and
the scrollers.
protected void syncScrollers;
document_view
and content_view
.
void encodeUsingCoder tom.Encoder coder;
void initWithCoder tom.Decoder coder;