package seedu.ezdo.ui;

import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.Region;
import seedu.ezdo.commons.util.FxViewUtil;

//@@author A0139177W
public class TaskCardHeader extends UiPart<Region> {

    private static final String FXML = "TaskCardHeader.fxml";

    public TaskCardHeader(AnchorPane taskCardHeaderPlaceHolder) {
        super(FXML);
        addToPlaceholder(taskCardHeaderPlaceHolder);
    }

    private void addToPlaceholder(AnchorPane placeHolderPane) {
        FxViewUtil.applyAnchorBoundaryParameters(getRoot(), 0.0, 0.0, 0.0, 0.0);
        placeHolderPane.getChildren().add(getRoot());
    }

}
//@@author A0139177W

package seedu.ezdo.ui;

import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.Region;
import seedu.ezdo.commons.util.FxViewUtil;

//@@author A0139177W
/**
 * The task card header for the UI.
 */
public class TaskCardHeader extends UiPart<Region> {

    private static final String FXML = "TaskCardHeader.fxml";

    public TaskCardHeader(AnchorPane taskCardHeaderPlaceHolder) {
        super(FXML);
        addToPlaceholder(taskCardHeaderPlaceHolder);
    }

    private void addToPlaceholder(AnchorPane placeHolderPane) {
        FxViewUtil.applyAnchorBoundaryParameters(getRoot(), 0.0, 0.0, 0.0, 0.0);
        placeHolderPane.getChildren().add(getRoot());
    }

}
//@@author A0139177W

Add comment for TaskCardHeader