クラス WindowView
java.lang.ObjectSE
org.springframework.shell.component.view.control.AbstractControl
org.springframework.shell.component.view.control.AbstractView
org.springframework.shell.component.view.control.WindowView
- 既知の直属サブクラス
DialogView
WindowView は、ビュー自体内の領域を定義する View です。コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明protected voiddrawInternal(Screen screen) コンポーネント内部の描画方法。protected StringSEprotected Rectangleこのビューの内側の長方形を取得します。voidsetBackgroundColor(int backgroundColor) 背景色を設定します。クラス org.springframework.shell.component.view.control.AbstractView から継承されたメソッド
destroy, dispatch, dispatchKeyRunCommand, dispatchMouseRunCommand, dispatchRunnable, draw, drawBackground, focus, getDrawFunction, getEventLoop, getHotKeyBindings, getHotKeyHandler, getKeyBindings, getKeyHandler, getLayer, getMouseBindings, getMouseHandler, getViewCommands, getViewService, hasFocus, init, initInternal, onDestroy, registerHotKeyBinding, registerHotKeyBinding, registerHotKeyBinding, registerKeyBinding, registerKeyBinding, registerKeyBinding, registerMouseBinding, registerMouseBinding, registerMouseBinding, registerViewCommand, runViewCommand, setDrawFunction, setEventLoop, setLayer, setViewService, shortcutクラス org.springframework.shell.component.view.control.AbstractControl から継承されたメソッド
getRect, getThemeName, getThemeResolver, resolveThemeBackground, resolveThemeForeground, resolveThemeSpinner, resolveThemeStyle, setRect, setThemeName, setThemeResolverクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.shell.component.view.control.Control から継承されたメソッド
getRect, setRect, setThemeName, setThemeResolver
コンストラクターの詳細
WindowView
public WindowView()
メソッドの詳細
setBackgroundColor
public void setBackgroundColor(int backgroundColor) 背景色を設定します。色がnullに設定されている場合は、背景をemptyに設定する必要があることを示し、レイヤーが不透明になる可能性があります。- パラメーター:
backgroundColor- 背景色
getBackgroundStyle
drawInternal
クラスからコピーされた説明:AbstractViewコンポーネント内部の描画方法。クラスを実装するには、Screenに何かを描画するためにこのメソッドを定義する必要があります。- 次で指定:
- クラス
AbstractViewのdrawInternal - パラメーター:
screen- スクリーン
getInnerRect
このビューの内側の長方形を取得します。- 戻り値:
- このビューの内側の長方形