onbon.bx06.area
Class ClockBxArea
java.lang.Object
onbon.bx06.area.BxArea
onbon.bx06.area.AbstractTimeClockBxArea
onbon.bx06.area.ClockBxArea
public class ClockBxArea
- extends AbstractTimeClockBxArea
时钟区域。
- Author:
- ONBON
Methods inherited from class onbon.bx06.area.AbstractTimeClockBxArea |
createBackgroundPic, generate, getBattleStartDay, getBattleStartHour, getBattleStartMinute, getBattleStartMonth, getBattleStartSecond, getBattleStartupMode, getBattleStartWeek, getBattleStartYear, getTimeDifferent, getTransparency, isBackgroundFlag, maskByBackground, overlayWithBackground, setBackgroundFlag, setBattleStartDay, setBattleStartHour, setBattleStartMinute, setBattleStartMonth, setBattleStartSecond, setBattleStartupMode, setBattleStartWeek, setBattleStartYear, setTimeDifferent, setTransparency |
Methods inherited from class onbon.bx06.area.BxArea |
getFont, getFrameMoveStep, getFrameSetting, getFrameSpeed, getFrameStyle, getHeight, getScreenProfile, getWidth, getX, getY, isFrameShow, loadFrameImage, loadFrameImage, preview, previewScreen, setAreaFrame, setFont, setFrameMoveStep, setFrameShow, setFrameSpeed, setFrameStyle, setHeight, setWidth, setX, setY, toString, validate |
ClockBxArea
public ClockBxArea(int x,
int y,
int width,
int height,
Bx6GScreenProfile screenProfile)
- 建构子。
- Parameters:
x
- X 座标。y
- Y 座标。width
- 寬。height
- 高。screenProfile
- 屏幕规格。
getHourHand
public AnalogClockBxUnit.TimeHandInfo getHourHand()
getMinuteHand
public AnalogClockBxUnit.TimeHandInfo getMinuteHand()
getSecondHand
public AnalogClockBxUnit.TimeHandInfo getSecondHand()
getForeground
public Color getForeground()
setForeground
public void setForeground(Color foreground)
getBackground
public BufferedImage getBackground()
setBackground
public void setBackground(BufferedImage background)
loadBackground
public void loadBackground(int index)
throws IOException
- Throws:
IOException
apply
protected void apply(onbon.bx06.message.area.TimeClockArea area,
ProgramDataBxFile dataFile)
- Specified by:
apply
in class AbstractTimeClockBxArea
preview
public void preview(Graphics2D g2d)
- Description copied from class:
BxArea
- 檢視配置。
- Overrides:
preview
in class BxArea
- Parameters:
g2d
- 圖。
Copyright © 2020 onbon. All rights reserved.