Modifier and Type | Field and Description |
---|---|
pack-priv int[] | |
pack-priv int | |
pack-priv String[] | |
pack-priv int[] | |
pack-priv int | |
pack-priv int[] | |
pack-priv int |
Access | Constructor and Description |
---|---|
public | FrameSetView(Element
the element that this view is responsible for elem, int axis)Constructs a FrameSetView for the given element. |
Modifier and Type | Method and Description |
---|---|
protected SizeRequirements[] | |
private void | init()
Initializes a number of internal state variables that store information about space allocation for the frames contained within the frameset. |
protected void | Returns: the offset and span for each child view in the offsets and spans parametersthe total span given to the view, which
would be used to layout the children targetSpan, int the axis being laid out axis, int[] the offsets from the origin of the view for
each of the child views; this is a return value and is
filled in by the implementation of this method offsets, int[] the span of each child view; this is a return
value and is filled in by the implementation of this method spans)Overrides javax. |
private int | |
private String[] | parseRowColSpec(HTML.
Parses the ROW or COL attributes and returns an array of strings that represent the space distribution. |
private void | spread(int targetSpan, int[] span)
This method is responsible for returning in span[] the span for each child view along the major axis. |
absoluteChildren | back to summary |
---|---|
pack-priv int[] absoluteChildren |
absoluteTotals | back to summary |
---|---|
pack-priv int absoluteTotals |
children | back to summary |
---|---|
pack-priv String[] children |
percentChildren | back to summary |
---|---|
pack-priv int[] percentChildren |
percentTotals | back to summary |
---|---|
pack-priv int percentTotals |
relativeChildren | back to summary |
---|---|
pack-priv int[] relativeChildren |
relativeTotals | back to summary |
---|---|
pack-priv int relativeTotals |
FrameSetView | back to summary |
---|---|
public FrameSetView(Element elem, int axis) Constructs a FrameSetView for the given element.
|
getChildRequests | back to summary |
---|---|
protected SizeRequirements[] getChildRequests(int targetSpan, int axis) |
init | back to summary |
---|---|
private void init() Initializes a number of internal state variables that store information about space allocation for the frames contained within the frameset. |
layoutMajorAxis | back to summary |
---|---|
protected void layoutMajorAxis(int targetSpan, int axis, int[] offsets, int[] spans) Overrides javax. Perform layout for the major axis of the box (i.e. the axis that it represents). The results of the layout should be placed in the given arrays which represent the allocations to the children along the major axis.
|
parseDigits | back to summary |
---|---|
private int parseDigits(String mixedStr) |
parseRowColSpec | back to summary |
---|---|
private String[] parseRowColSpec(HTML. Parses the ROW or COL attributes and returns an array of strings that represent the space distribution. |
spread | back to summary |
---|---|
private void spread(int targetSpan, int[] span) This method is responsible for returning in span[] the span for each child view along the major axis. it computes this based on the information that extracted from the value of the ROW/COL attribute. |