/* * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javafx.scene.control; /** *

The position to place the content within a Label.

* @since JavaFX 2.0 */ public enum ContentDisplay { /** *

Content will be placed at the top of the Label.

*/ TOP, /** *

Content will be placed at the right of the Label.

*/ RIGHT, /** *

Content will be placed at the bottom of the Label.

*/ BOTTOM, /** *

Content will be placed at the left of the Label.

*/ LEFT, /** *

Content will be placed at the center of the Label.

*/ CENTER, /** *

Only the content will be displayed.

*/ GRAPHIC_ONLY, /** *

Only the label's text will be displayed.

*/ TEXT_ONLY; }