| 219 | } |
| 220 | |
| 221 | bool J2DPane::prependChild(J2DPane* child) |
| 222 | { |
| 223 | if (child == nullptr) { |
| 224 | return false; |
| 225 | } |
| 226 | J2DPane* oldParent = child->getParentPane(); |
| 227 | bool prependResult = mTree.prependChild(&child->mTree); |
| 228 | if ((prependResult) && oldParent == nullptr) { |
| 229 | child->add(mBounds.i.x, mBounds.i.y); |
| 230 | child->calcMtx(); |
| 231 | } |
| 232 | return prependResult; |
| 233 | } |
| 234 | |
| 235 | bool J2DPane::insertChild(J2DPane* before, J2DPane* child) |
| 236 | { |
nothing calls this directly
no test coverage detected