private boolean canStartDragging(MouseEvent me) { if (me.getButton() != MouseEvent.BUTTON1) return false; if (!myDragComponent.isShowing()) return false; Component component = me.getComponent(); if (NullableComponent.Check.isNullOrHidden(component)) return false; final Point dragComponentPoint = SwingUtilities.convertPoint(me.getComponent(), me.getPoint(), myDragComponent); return canStartDragging(myDragComponent, dragComponentPoint); }
@Override public boolean isNull() { final boolean superNull = super.isNull(); if (superNull) return superNull; if (myMaster == null) { return NullableComponent.Check.isNull(mySimpleContent); } else { return NullableComponent.Check.isNull(myMaster); } }
@Override public boolean isNull() { final boolean superNull = super.isNull(); if (superNull) return superNull; return NullableComponent.Check.isNull(mySimpleContent); }