프로퍼티 | 타입 | 설명 | |
---|---|---|---|
NumBoxes | int |
메소드 | 설명 | |
---|---|---|
AddBox ( |
Add another box (to the end of the chain).
|
|
ChildTransformFromRootTransform ( |
Given the transform currently used to draw the root, give the transform used to draw your children.
|
|
Contains ( |
Return true if this box contains the other one, that is, is one of its containers. Only group boxes can contain others.
|
|
FindBoxAt ( Point where, |
If there is a leaf box at the specified position, return it. Also return the paint transform that should be passed to operations on that box. Enhance JohnT: should probably always return something, if box contains any leaf? Where is in drawing coords.
|
|
GetSelectionAt ( Point where, IVwGraphics vg, |
||
GroupBox ( |
||
InsertBox ( |
Add a child box after the specified box (one of your children).
|
|
NextInSelectionSequence ( bool includeChildren ) : |
Answer the next box in which to draw a selection after the current one. This is basically a sequence which considers a box to be come immediately before - its first child, if it has one; - otherwise, its Next box, if any; - otherwise, the Next box of its closest ancestor that has one. Todo JohnT: eventually will be able to be constrained to the same column.
|
|
PaintBackground ( IVwGraphics vg, |
||
PaintForeground ( IVwGraphics vg, |
||
SelectAtEnd ( ) : |
A group box by default selects at the end of its last box. Enhance: if selecting in the last box can fail (e.g., because it's a group with no children, or because we add an argument to require an editable selection and the last box doesn't have one, we may need to try more boxes, in reverse order.
|
|
SelectAtStart ( ) : |
Make a selection at the start of the box. Subclasses override.
|
메소드 | 설명 | |
---|---|---|
BoxBefore ( |
||
FindNumBoxes ( ) : void | ||
FirstVisibleBox ( IVwGraphics vg, |
Return the first box that actually needs to be painted, that is, that intersects the clip rectangle specified in the VwGraphics. It is acceptable to answer the FirstBox, as here, if clipping is not needed; this is an optional optimization.
|
|
IsAfterVisibleBoxes ( |
Return true if the argument (child) box and all subsequent boxes need not be painted, typically because they occur after the end of the clip rectangle specified in the VwGraphics. It is acceptable to answer false, if no clipping is wanted, or for the first box for which we answer true to be later than the optimal one; this is an optional optimization.
|
|
RemoveBoxes ( |
public ChildTransformFromRootTransform ( |
||
rootTransform | ||
리턴 |
public FindBoxAt ( Point where, |
||
where | Point | |
ptrans | ||
leafBoxTransform | ||
리턴 |
public GetSelectionAt ( Point where, IVwGraphics vg, |
||
where | Point | |
vg | IVwGraphics | |
ptrans | ||
리턴 |
public GroupBox ( |
||
styles | ||
리턴 | System |
public InsertBox ( |
||
newBox | ||
insertAfter | ||
리턴 | void |
public NextInSelectionSequence ( bool includeChildren ) : |
||
includeChildren | bool | |
리턴 |
public PaintBackground ( IVwGraphics vg, |
||
vg | IVwGraphics | |
ptrans | ||
리턴 | void |
public PaintForeground ( IVwGraphics vg, |
||
vg | IVwGraphics | |
ptrans | ||
리턴 | void |
public SelectAtEnd ( ) : |
||
리턴 |
public SelectAtStart ( ) : |
||
리턴 |