Package com.sun.star.beans

Examples of com.sun.star.beans.XPropertySet.addPropertyChangeListener()


    xLabel.setPropertyValue( "Name", "KeyGeneration" );
        XPropertySet xKeyGen = m_formLayer.createControlAndShape( "RadioButton", 106, 11, 50, 6, xOptionsForm );
    xKeyGen.setPropertyValue( "Name", "KeyGen" );
    xKeyGen.setPropertyValue( "Label", "no automatic generation" );
    xKeyGen.setPropertyValue( "RefValue", "none" );
    xKeyGen.addPropertyChangeListener( "State", this );

        xKeyGen = m_formLayer.createControlAndShape( "RadioButton", 106, 17, 50, 6, xOptionsForm );
    xKeyGen.setPropertyValue( "Name", "KeyGen" );
    xKeyGen.setPropertyValue( "Label", "before inserting a record" );
    xKeyGen.setPropertyValue( "RefValue", "update" );
View Full Code Here


        xKeyGen = m_formLayer.createControlAndShape( "RadioButton", 106, 17, 50, 6, xOptionsForm );
    xKeyGen.setPropertyValue( "Name", "KeyGen" );
    xKeyGen.setPropertyValue( "Label", "before inserting a record" );
    xKeyGen.setPropertyValue( "RefValue", "update" );
    xKeyGen.addPropertyChangeListener( "State", this );

        xKeyGen = m_formLayer.createControlAndShape( "RadioButton", 106, 23, 50, 6, xOptionsForm );
    xKeyGen.setPropertyValue( "Name", "KeyGen" );
    xKeyGen.setPropertyValue( "Label", "when moving to a new record" );
    xKeyGen.setPropertyValue( "RefValue", "reset" );
View Full Code Here

        xKeyGen = m_formLayer.createControlAndShape( "RadioButton", 106, 23, 50, 6, xOptionsForm );
    xKeyGen.setPropertyValue( "Name", "KeyGen" );
    xKeyGen.setPropertyValue( "Label", "when moving to a new record" );
    xKeyGen.setPropertyValue( "RefValue", "reset" );
    xKeyGen.addPropertyChangeListener( "State", this );

    // initialize listeners
    // master form - key generation
    m_aSalesmanKeyGenerator = new KeyGenerator( m_xMasterForm, "SNR", m_xCtx );
    m_aSalesmanKeyGenerator.activateKeyGenerator( true );
View Full Code Here

        XPropertySet xCheck = m_formLayer.createControlAndShape( "CheckBox", 106, 39, 60, 6, xOptionsForm  );
    xCheck.setPropertyValue( "Name", "defaultdate" );
    xCheck.setPropertyValue( "Label", "default sales date to \"today\"" );
        xCheck.setPropertyValue( "HelpText", "When checked, newly entered sales records are pre-filled with today's date, else left empty." );
    xCheck.addPropertyChangeListener( "State", this );

        xCheck = m_formLayer.createControlAndShape( "CheckBox", 106, 45, 60, 6, xOptionsForm  );
    xCheck.setPropertyValue( "Name", "protectkeys" );
    xCheck.setPropertyValue( "Label", "protect key fields from editing" );
        xCheck.setPropertyValue( "HelpText", "When checked, you cannot modify the values in the table's key fields (SNR and SALENR)" );
View Full Code Here

        xCheck = m_formLayer.createControlAndShape( "CheckBox", 106, 45, 60, 6, xOptionsForm  );
    xCheck.setPropertyValue( "Name", "protectkeys" );
    xCheck.setPropertyValue( "Label", "protect key fields from editing" );
        xCheck.setPropertyValue( "HelpText", "When checked, you cannot modify the values in the table's key fields (SNR and SALENR)" );
    xCheck.addPropertyChangeListener( "State", this );

        xCheck = m_formLayer.createControlAndShape( "CheckBox", 106, 51, 60, 6, xOptionsForm  );
    xCheck.setPropertyValue( "Name", "emptysales" );
    xCheck.setPropertyValue( "Label", "check for empty sales names" );
        xCheck.setPropertyValue( "HelpText", "When checked, you cannot enter empty values into the NAME column of the 'Sales' table." );
View Full Code Here

        xCheck = m_formLayer.createControlAndShape( "CheckBox", 106, 51, 60, 6, xOptionsForm  );
    xCheck.setPropertyValue( "Name", "emptysales" );
    xCheck.setPropertyValue( "Label", "check for empty sales names" );
        xCheck.setPropertyValue( "HelpText", "When checked, you cannot enter empty values into the NAME column of the 'Sales' table." );
    xCheck.addPropertyChangeListener( "State", this );

        // dump the form component tree
        enumFormComponents( );
  }
View Full Code Here

    xLabel.setPropertyValue( "Name", "KeyGeneration" );
        XPropertySet xKeyGen = m_formLayer.createControlAndShape( "RadioButton", 106, 11, 50, 6, xOptionsForm );
    xKeyGen.setPropertyValue( "Name", "KeyGen" );
    xKeyGen.setPropertyValue( "Label", "no automatic generation" );
    xKeyGen.setPropertyValue( "RefValue", "none" );
    xKeyGen.addPropertyChangeListener( "State", this );

        xKeyGen = m_formLayer.createControlAndShape( "RadioButton", 106, 17, 50, 6, xOptionsForm );
    xKeyGen.setPropertyValue( "Name", "KeyGen" );
    xKeyGen.setPropertyValue( "Label", "before inserting a record" );
    xKeyGen.setPropertyValue( "RefValue", "update" );
View Full Code Here

        xKeyGen = m_formLayer.createControlAndShape( "RadioButton", 106, 17, 50, 6, xOptionsForm );
    xKeyGen.setPropertyValue( "Name", "KeyGen" );
    xKeyGen.setPropertyValue( "Label", "before inserting a record" );
    xKeyGen.setPropertyValue( "RefValue", "update" );
    xKeyGen.addPropertyChangeListener( "State", this );

        xKeyGen = m_formLayer.createControlAndShape( "RadioButton", 106, 23, 50, 6, xOptionsForm );
    xKeyGen.setPropertyValue( "Name", "KeyGen" );
    xKeyGen.setPropertyValue( "Label", "when moving to a new record" );
    xKeyGen.setPropertyValue( "RefValue", "reset" );
View Full Code Here

        xKeyGen = m_formLayer.createControlAndShape( "RadioButton", 106, 23, 50, 6, xOptionsForm );
    xKeyGen.setPropertyValue( "Name", "KeyGen" );
    xKeyGen.setPropertyValue( "Label", "when moving to a new record" );
    xKeyGen.setPropertyValue( "RefValue", "reset" );
    xKeyGen.addPropertyChangeListener( "State", this );

    // initialize listeners
    // master form - key generation
    m_aSalesmanKeyGenerator = new KeyGenerator( m_xMasterForm, "SNR", m_xCtx );
    m_aSalesmanKeyGenerator.activateKeyGenerator( true );
View Full Code Here

        XPropertySet xCheck = m_formLayer.createControlAndShape( "CheckBox", 106, 39, 60, 6, xOptionsForm  );
    xCheck.setPropertyValue( "Name", "defaultdate" );
    xCheck.setPropertyValue( "Label", "default sales date to \"today\"" );
        xCheck.setPropertyValue( "HelpText", "When checked, newly entered sales records are pre-filled with today's date, else left empty." );
    xCheck.addPropertyChangeListener( "State", this );

        xCheck = m_formLayer.createControlAndShape( "CheckBox", 106, 45, 60, 6, xOptionsForm  );
    xCheck.setPropertyValue( "Name", "protectkeys" );
    xCheck.setPropertyValue( "Label", "protect key fields from editing" );
        xCheck.setPropertyValue( "HelpText", "When checked, you cannot modify the values in the table's key fields (SNR and SALENR)" );
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.