Kagetaka

net.hizlab.kagetaka.awt
クラス BrowseButton

java.lang.Object
  拡張java.awt.Component
      拡張java.awt.Button
          拡張net.hizlab.kagetaka.awt.BrowseButton
すべての実装インタフェース:
Accessible, ImageObserver, MenuContainer, Serializable

public class BrowseButton
extends Button

推奨サイズが決められたボタンです。

バージョン:
$Revision: 1.1 $
関連項目:
直列化された形式

入れ子クラスの概要
 
クラス java.awt.Button から継承した入れ子クラス
Button.AccessibleAWTButton
 
クラス java.awt.Component から継承した入れ子クラス
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
フィールドの概要
static int DIRECTORY
          ディレクトリ
static int FILE
          ファイル
protected  Dimension size
          固定したサイズ
 
クラス java.awt.Component から継承したフィールド
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
インタフェース java.awt.image.ImageObserver から継承したフィールド
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
コンストラクタの概要
BrowseButton(int type, TextField text)
          テキストフィールドに連結した参照ボタンを作成します。
 
メソッドの概要
 FilenameFilter getFilenameFilter()
          ファイルを指定するフィルタを返します。
 Dimension getMaximumSize()
          最大サイズを返します。
 String getMessage()
          ディレクトリを選択するダイアログのメッセージを返します。
 Dimension getMinimumSize()
          最小サイズを返します。
 PathAbsoluter getPathAbsoluter()
          ファイル名を変換するコンバータを返します。
 String getTitle()
          ファイル・ディレクトリを選択するダイアログのタイトルを返します。
 void setFilenameFilter(FilenameFilter filter)
          ファイルを指定するフィルタを設定します。
 void setMessage(String message)
          ディレクトリを選択するダイアログのメッセージを設定します。
 void setPathAbsoluter(PathAbsoluter absoluter)
          ファイル名を変換するコンバータを設定します。
 void setTitle(String title)
          ファイル・ディレクトリを選択するダイアログのタイトルを設定します。
 
クラス java.awt.Button から継承したメソッド
addActionListener, addNotify, getAccessibleContext, getActionCommand, getActionListeners, getLabel, getListeners, paramString, processActionEvent, processEvent, removeActionListener, setActionCommand, setLabel
 
クラス java.awt.Component から継承したメソッド
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paint, paintAll, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, update, validate
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

DIRECTORY

public static final int DIRECTORY
ディレクトリ

関連項目:
定数フィールド値

FILE

public static final int FILE
ファイル

関連項目:
定数フィールド値

size

protected Dimension size
固定したサイズ

コンストラクタの詳細

BrowseButton

public BrowseButton(int type,
                    TextField text)
テキストフィールドに連結した参照ボタンを作成します。

パラメータ:
type - タイプ
text - テキスト
メソッドの詳細

getFilenameFilter

public FilenameFilter getFilenameFilter()
ファイルを指定するフィルタを返します。

戻り値:
フィルタ

getMaximumSize

public Dimension getMaximumSize()
最大サイズを返します。

戻り値:
最大サイズ

getMessage

public String getMessage()
ディレクトリを選択するダイアログのメッセージを返します。

戻り値:
メッセージ

getMinimumSize

public Dimension getMinimumSize()
最小サイズを返します。

戻り値:
最小サイズ

getPathAbsoluter

public PathAbsoluter getPathAbsoluter()
ファイル名を変換するコンバータを返します。

戻り値:
コンバータ

getTitle

public String getTitle()
ファイル・ディレクトリを選択するダイアログのタイトルを返します。

戻り値:
タイトル

setFilenameFilter

public void setFilenameFilter(FilenameFilter filter)
ファイルを指定するフィルタを設定します。 ここで指定されるフィルタは、ファイルの選択ダイアログで利用されます。 ディレクトリの選択では利用されません。

パラメータ:
filter - フィルタ

setMessage

public void setMessage(String message)
ディレクトリを選択するダイアログのメッセージを設定します。

パラメータ:
message - メッセージ

setPathAbsoluter

public void setPathAbsoluter(PathAbsoluter absoluter)
ファイル名を変換するコンバータを設定します。

パラメータ:
absoluter - コンバータ

setTitle

public void setTitle(String title)
ファイル・ディレクトリを選択するダイアログのタイトルを設定します。

パラメータ:
title - タイトル

Kagetaka

Copyright (c) 2002-2003 The Kagetaka Project 'December 16, 2003'