jp.digitalmuseum.mr.gui.utils
クラス GUIUtils

java.lang.Object
  上位を拡張 jp.digitalmuseum.mr.gui.utils.GUIUtils

public class GUIUtils
extends java.lang.Object
GUI-related utility class.
作成者:
Jun KATO

コンストラクタの概要
GUIUtils()
           
 
メソッドの概要
static void errorDialog(java.awt.Component component, java.lang.String message, java.lang.String title)
          Show an error dialog over the specified component.
static javax.swing.JFrame getParentFrame(java.awt.Component component)
           
static void setBorder(javax.swing.JComponent component, int width)
          Set a border with the specified width to the swing component.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
コンストラクタの詳細

GUIUtils

public GUIUtils()
メソッドの詳細

setBorder

public static void setBorder(javax.swing.JComponent component,
                             int width)
Set a border with the specified width to the swing component.
パラメータ:
component -
width -

errorDialog

public static void errorDialog(java.awt.Component component,
                               java.lang.String message,
                               java.lang.String title)
Show an error dialog over the specified component.
パラメータ:
component -
message -
title -

getParentFrame

public static javax.swing.JFrame getParentFrame(java.awt.Component component)
パラメータ:
component -
戻り値:
Returns a JFrame that contains the specified component.


Copyright by Jun KATO (arc@dmz) at https://mr.digitalmuseum.jp/