Home | History | Annotate | Download | only in ui

Lines Matching refs:node

25     private ViewNode node;
28 CaptureRenderer(ImageIcon icon, ViewNode node) {
30 this.node = node;
38 if (node.hasMargins) {
39 d.width += node.marginLeft + node.marginRight;
40 d.height += node.marginTop + node.marginBottom;
65 if ((node.paddingBottom | node.paddingLeft |
66 node.paddingTop | node.paddingRight) != 0) {
68 g.drawRect(node.paddingLeft, node.paddingTop,
69 width - node.paddingRight - node.paddingLeft,
70 height - node.paddingBottom - node.paddingTop);
72 if (node.baseline != -1) {
74 g.drawLine(0, node.baseline, width, node.baseline);
76 if (node.hasMargins && (node.marginLeft | node.marginBottom |
77 node.marginRight | node.marginRight) != 0) {
79 g.drawRect(-node.marginLeft, -node.marginTop,
80 node.marginLeft + width + node.marginRight,
81 node.marginTop + height + node.marginBottom);