Java 类com.intellij.uiDesigner.propertyInspector.properties.IntroFontProperty 实例源码

项目:intellij-ce-playground    文件:FontEditor.java   
private void showFontEditorDialog() {
  FontEditorDialog dlg = new FontEditorDialog(myProject, myPropertyName);
  dlg.setValue(myValue);
  dlg.show();
  if (dlg.getExitCode() == DialogWrapper.OK_EXIT_CODE) {
    myValue = dlg.getValue();
    myTextField.setText(IntroFontProperty.descriptorToString(myValue));
    fireValueCommitted(true, false);
  }
}
项目:tools-idea    文件:FontEditor.java   
private void showFontEditorDialog() {
  FontEditorDialog dlg = new FontEditorDialog(myProject, myPropertyName);
  dlg.setValue(myValue);
  dlg.show();
  if (dlg.getExitCode() == DialogWrapper.OK_EXIT_CODE) {
    myValue = dlg.getValue();
    myTextField.setText(IntroFontProperty.descriptorToString(myValue));
    fireValueCommitted(true, false);
  }
}
项目:consulo-ui-designer    文件:FontEditor.java   
private void showFontEditorDialog() {
  FontEditorDialog dlg = new FontEditorDialog(myProject, myPropertyName);
  dlg.setValue(myValue);
  dlg.show();
  if (dlg.getExitCode() == DialogWrapper.OK_EXIT_CODE) {
    myValue = dlg.getValue();
    myTextField.setText(IntroFontProperty.descriptorToString(myValue));
    fireValueCommitted(true, false);
  }
}
项目:intellij-ce-playground    文件:FontRenderer.java   
protected void customize(FontDescriptor value) {
  setText(IntroFontProperty.descriptorToString(value));
}
项目:intellij-ce-playground    文件:FontEditorDialog.java   
private void updatePreview() {
  myPreviewTextLabel.setText(IntroFontProperty.descriptorToString(myValue));
  myPreviewTextLabel.setFont(myValue.getResolvedFont(myRootPane.getFont()));
}
项目:intellij-ce-playground    文件:FontEditor.java   
public JComponent getComponent(RadComponent component, FontDescriptor value, InplaceContext inplaceContext) {
  myProject = component.getProject();
  myValue = value != null ? value : new FontDescriptor(null, -1, -1);
  myTextField.setText(IntroFontProperty.descriptorToString(myValue));
  return myTextField;
}
项目:tools-idea    文件:FontRenderer.java   
protected void customize(FontDescriptor value) {
  setText(IntroFontProperty.descriptorToString(value));
}
项目:tools-idea    文件:FontEditorDialog.java   
private void updatePreview() {
  myPreviewTextLabel.setText(IntroFontProperty.descriptorToString(myValue));
  myPreviewTextLabel.setFont(myValue.getResolvedFont(myRootPane.getFont()));
}
项目:tools-idea    文件:FontEditor.java   
public JComponent getComponent(RadComponent component, FontDescriptor value, InplaceContext inplaceContext) {
  myProject = component.getProject();
  myValue = value != null ? value : new FontDescriptor(null, -1, -1);
  myTextField.setText(IntroFontProperty.descriptorToString(myValue));
  return myTextField;
}
项目:consulo-ui-designer    文件:FontRenderer.java   
protected void customize(FontDescriptor value) {
  setText(IntroFontProperty.descriptorToString(value));
}
项目:consulo-ui-designer    文件:FontEditorDialog.java   
private void updatePreview() {
  myPreviewTextLabel.setText(IntroFontProperty.descriptorToString(myValue));
  myPreviewTextLabel.setFont(myValue.getResolvedFont(myRootPane.getFont()));
}
项目:consulo-ui-designer    文件:FontEditor.java   
public JComponent getComponent(RadComponent component, FontDescriptor value, InplaceContext inplaceContext) {
  myProject = component.getProject();
  myValue = value != null ? value : new FontDescriptor(null, -1, -1);
  myTextField.setText(IntroFontProperty.descriptorToString(myValue));
  return myTextField;
}