/** Creates new form QTIAssessmentPanel */ public QTIAssessmentPanel(QTIAssessment qtiAssessment, String sIdent, String sTitle) { this.qtiAssessment = qtiAssessment; initComponents(); initComponents2(); if (jpMetadataProperties != null) jpMetadataProperties.setID(sIdent); if (jpMetadataProperties != null) jpMetadataProperties.setTitle(sTitle); // tfIdent.setText(sIdent); // tfTitle.setText(sTitle); if (CreatorProperties.getBackground() != null || CreatorProperties.getComponentColor() != null) setBackground(CreatorProperties.getBackground()); initMessages(); }
public void setBackground(java.awt.Color c) { super.setBackground(c); if (jpMetadataProperties != null) jpMetadataProperties.setBackground(c); }
public String getTitle() { return (jpMetadataProperties != null) ? jpMetadataProperties.getTitle() : ""; }
public String getIdent() { return (jpMetadataProperties != null) ? jpMetadataProperties.getID() : ""; }