/** * hook for subclasses to update internal state after * a new target has been set. <p> * * Subclasses are free to decide the details. * Here: * <ul> * <li> the text property is set to target.toString or empty String if * the target is null * <li> visited is set to false. * </ul> */ protected void installTarget() { setName(target != null ? target.toString() : "" ); setVisited(false); }
/** * hook for subclasses to update internal state after * a new target has been set. <p> * * Subclasses are free to decide the details. * Here: * <ul> * <li> the text property is set to target.toString or empty String if * the target is null * <li> visited is set to false. * </ul> */ protected void installTarget() { setName(target != null ? target.toString() : "" ); setVisited(false); }
/** * hook for subclasses to update internal state after * a new target has been set. <p> * * Subclasses are free to decide the details. * Here: * <ul> * <li> the text property is set to target.toString or empty String if * the target is null * <li> visited is set to false. * </ul> */ protected void installTarget() { setName(target != null ? target.toString() : "" ); setVisited(false); }
/** * hook for subclasses to update internal state after * a new target has been set. <p> * * Subclasses are free to decide the details. * Here: * <ul> * <li> the text property is set to target.toString or empty String if * the target is null * <li> visited is set to false. * </ul> */ protected void installTarget() { setName(target != null ? target.toString() : "" ); setVisited(false); }
/** * hook for subclasses to update internal state after * a new target has been set. <p> * * Subclasses are free to decide the details. * Here: * <ul> * <li> the text property is set to target.toString or empty String if * the target is null * <li> visited is set to false. * </ul> */ protected void installTarget() { setName(target != null ? target.toString() : "" ); setVisited(false); }