Package fr.soleil.comete.definition.widget.util

Examples of fr.soleil.comete.definition.widget.util.CometeFont


    private void initializeGUI() {
        setLayout(new BorderLayout());
        runName = generateLabel();
        runName.setText("No current scan");
        runName.setHorizontalAlignment(SwingConstants.CENTER);
        runName.setCometeFont(new CometeFont("DIALOG", Font.BOLD | Font.ITALIC, 12));
        add(runName, BorderLayout.NORTH);
        add(scrollPanel, BorderLayout.CENTER);
        scrollPanel.setViewportView(table);
        scrollPanel.setAutoscrolls(true);
        scrollPanel.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
View Full Code Here


    private void initializeGUI() {
        setLayout(new BorderLayout());
        runName = generateLabel();
        runName.setText("No current scan");
        runName.setHorizontalAlignment(SwingConstants.CENTER);
        runName.setCometeFont(new CometeFont("DIALOG", Font.BOLD | Font.ITALIC, 12));
        add(runName, BorderLayout.NORTH);
        add(scrollPanel, BorderLayout.CENTER);
        scrollPanel.setViewportView(table);
        scrollPanel.setAutoscrolls(true);
        scrollPanel.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
View Full Code Here

     */
    private Label getPositionScalarViewer() {
        if (this.positionScalarViewer == null) {
            this.positionScalarViewer = this.generateLabel();
            this.positionScalarViewer.setPreferredSize(6, 55);
            this.positionScalarViewer.setCometeFont(new CometeFont("Dialog", Font.BOLD, 25));
            this.positionScalarViewer.setHorizontalAlignment(ITextField.CENTER);
            this.positionScalarViewer.setMinimumSize(new Dimension(6, 55));
        }
        return this.positionScalarViewer;
    }
View Full Code Here

     */
    private WheelSwitch getPositionScalarWheelEditor() {
        if (this.positionScalarWheelEditor == null) {
            this.positionScalarWheelEditor = this.generateWheelSwitch();
            this.positionScalarWheelEditor.setPreferredSize(100, 50);
            this.positionScalarWheelEditor.setCometeFont(new CometeFont("Dialog", Font.PLAIN, 16));
            this.positionScalarWheelEditor.setOpaque(false);
            this.positionScalarWheelEditor.setMinimumSize(new Dimension(100, 50));
            this.positionScalarWheelEditor.setCometeBackground(this.backgdColor);
            this.positionScalarWheelEditor.setInvertionLogic(true);
        }
View Full Code Here

    private TextField getPositionScalarViewer() {
        if (this.positionScalarViewer == null) {
            this.positionScalarViewer = generateTextField();
            this.positionScalarViewer.setEditable(false);
            this.positionScalarViewer.setPreferredSize(6, 55);
            this.positionScalarViewer.setCometeFont(new CometeFont("Dialog", Font.BOLD, 25));
            this.positionScalarViewer.setHorizontalAlignment(ITextField.CENTER);
            this.positionScalarViewer.setMinimumSize(new Dimension(6, 55));
        }
        return this.positionScalarViewer;
    }
View Full Code Here

     */
    private WheelSwitch getPositionScalarWheelEditor() {
        if (this.positionScalarWheelEditor == null) {
            this.positionScalarWheelEditor = generateWheelSwitch();
            this.positionScalarWheelEditor.setPreferredSize(100, 50);
            this.positionScalarWheelEditor.setCometeFont(new CometeFont("Dialog", Font.PLAIN, 16));
            this.positionScalarWheelEditor.setOpaque(false);
            this.positionScalarWheelEditor.setMinimumSize(new Dimension(100, 50));
            this.positionScalarWheelEditor.setCometeBackground(this.backgdColor);
            this.positionScalarWheelEditor.setInvertionLogic(true);
        }
View Full Code Here

    private Label getPositionScalarViewer() {
        if (this.positionScalarViewer == null) {
            this.positionScalarViewer = generateLabel();
            this.positionScalarViewer.setEditable(false);
            this.positionScalarViewer.setPreferredSize(6, 55);
            this.positionScalarViewer.setCometeFont(new CometeFont("Dialog", Font.BOLD, 25));
            this.positionScalarViewer.setHorizontalAlignment(ITextField.CENTER);
            this.positionScalarViewer.setMinimumSize(new Dimension(6, 55));
        }
        return this.positionScalarViewer;
    }
View Full Code Here

     */
    private WheelSwitch getPositionScalarWheelEditor() {
        if (this.positionScalarWheelEditor == null) {
            this.positionScalarWheelEditor = generateWheelSwitch();
            this.positionScalarWheelEditor.setPreferredSize(100, 50);
            this.positionScalarWheelEditor.setCometeFont(new CometeFont("Dialog", Font.PLAIN, 16));
            this.positionScalarWheelEditor.setOpaque(false);
            this.positionScalarWheelEditor.setMinimumSize(new Dimension(100, 50));
            this.positionScalarWheelEditor.setCometeBackground(this.backgdColor);
            this.positionScalarWheelEditor.setInvertionLogic(true);
        }
View Full Code Here

     */
    private Label getPositionScalarViewer() {
        if (this.positionScalarViewer == null) {
            this.positionScalarViewer = generateLabel();
            this.positionScalarViewer.setPreferredSize(6, 55);
            this.positionScalarViewer.setCometeFont(new CometeFont("Dialog", Font.BOLD, 25));
            this.positionScalarViewer.setHorizontalAlignment(ITextField.CENTER);
            this.positionScalarViewer.setMinimumSize(new Dimension(6, 55));
        }
        return this.positionScalarViewer;
    }
View Full Code Here

     */
    private WheelSwitch getPositionScalarWheelEditor() {
        if (this.positionScalarWheelEditor == null) {
            this.positionScalarWheelEditor = generateWheelSwitch();
            this.positionScalarWheelEditor.setPreferredSize(100, 50);
            this.positionScalarWheelEditor.setCometeFont(new CometeFont("Dialog", Font.PLAIN, 16));
            this.positionScalarWheelEditor.setOpaque(false);
            this.positionScalarWheelEditor.setMinimumSize(new Dimension(100, 50));
            this.positionScalarWheelEditor.setCometeBackground(this.backgdColor);
            this.positionScalarWheelEditor.setInvertionLogic(true);
        }
View Full Code Here

TOP

Related Classes of fr.soleil.comete.definition.widget.util.CometeFont

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.