/** * removes "Content" from the collection of objects listening * @param parent the listener */ protected final void removeParent(Content parent) { parents.remove(parent); refresh(); }
protected void afterReconstruction() { getContent().refresh(); }
/** * Default constructor * @param content * @throws NullPointerException */ public CenterContent(Content content) { if(null == content) { throw new NullPointerException("content can't be null"); } content.addParent(this); this.content = content; content.refresh(); // updateOffsetPoint(); }