Logo Search packages:      
Sourcecode: jlgui version File versions  Download package

javazoom::jlgui::player::amp::skin::Skin Class Reference

List of all members.


Detailed Description

This class allows to load all skin (2.0 compliant) features.

Definition at line 50 of file Skin.java.


Public Member Functions

SpectrumTimeAnalyzer getAcAnalyzer ()
ActiveJSlider getAcBalance ()
ActiveJLabel getAcBitRateLabel ()
ActiveJButton getAcEject ()
ActiveJToggleButton getAcEqAuto ()
ActiveJToggleButton getAcEqOnOff ()
ActiveJButton getAcEqPresets ()
ActiveJSlider[] getAcEqSliders ()
ActiveJToggleButton getAcEqualizer ()
ActiveJButton getAcExit ()
ActiveJButton getAcMinimize ()
ActiveJNumberLabel getAcMinuteH ()
ActiveJNumberLabel getAcMinuteL ()
ActiveJIcon getAcMonoIcon ()
ActiveJButton getAcNext ()
ActiveJButton getAcPause ()
ActiveJButton getAcPlAdd ()
ActiveJPopup getAcPlAddPopup ()
ActiveJButton getAcPlay ()
ActiveJIcon getAcPlayIcon ()
ActiveJToggleButton getAcPlaylist ()
ActiveJButton getAcPlDown ()
ActiveJButton getAcPlList ()
ActiveJPopup getAcPlListPopup ()
ActiveJButton getAcPlMisc ()
ActiveJPopup getAcPlMiscPopup ()
ActiveJButton getAcPlRemove ()
ActiveJPopup getAcPlRemovePopup ()
ActiveJButton getAcPlSelect ()
ActiveJPopup getAcPlSelectPopup ()
ActiveJSlider getAcPlSlider ()
ActiveJButton getAcPlUp ()
ActiveJSlider getAcPosBar ()
ActiveJButton getAcPrevious ()
ActiveJToggleButton getAcRepeat ()
ActiveJLabel getAcSampleRateLabel ()
ActiveJNumberLabel getAcSecondH ()
ActiveJNumberLabel getAcSecondL ()
ActiveJToggleButton getAcShuffle ()
ActiveJIcon getAcStereoIcon ()
ActiveJButton getAcStop ()
ActiveJIcon getAcTimeIcon ()
ActiveJBar getAcTitleBar ()
ActiveJLabel getAcTitleLabel ()
ActiveJSlider getAcVolume ()
Config getConfig ()
Image getEqualizerImage ()
int getMainHeight ()
Image getMainImage ()
int getMainWidth ()
String getPath ()
PlaylistUIDelegate getPlaylistPanel ()
String getReadme ()
String getResource (String key)
String getSkinVersion ()
SplinePanel getSpline ()
String getVisColors ()
boolean isDspEnabled ()
void loadSkin (SkinLoader skl) throws Exception
void loadSkin (InputStream skinStream)
void loadSkin (String skinName)
void readPanel (Image[] releasedImage, int[] releasedPanel, Image[] pressedImage, int[] pressedPanel, Image imPanel)
void setConfig (Config config)
void setDspEnabled (boolean dspEnabled)
void setOnOffAutoPanel ()
void setPath (String path)
void setPlaylistPanel ()
void setPresetsPanel ()
void setSkinVersion (String skinVersion)
void setSplinePanel ()

Static Public Attributes

static final int BALANCEMAX = 5
static final int POSBARMAX = 1000
static final String TITLETEXT = "jlGui 3.0 "
static final int VOLUMEMAX = 100

Protected Member Functions

void setExitPanel ()
void setMinimizePanel ()
void setPosBarPanel ()
void setTitleBarPanel ()

Private Member Functions

ActiveJButton createPLButton (int sx, int sy)
Color parsePlEditColor (String line) throws Exception
void setAnalyzerPanel ()
void setButtonsPanel ()
void setEPSRButtonsPanel ()
void setMonoStereoPanel ()
void setSliderPanel ()
void setVolumeBalancePanel (int vheight, int bheight)

Private Attributes

ActiveJToggleButton acAuto
ActiveJSlider acBalance = null
ActiveJLabel acBitRateLabel = null
ActiveJButton acEject
ActiveJToggleButton acEqualizer
ActiveJButton acExit = null
ActiveFont acFont = null
ActiveJButton acMinimize = null
ActiveJNumberLabel acMinuteH = null
ActiveJNumberLabel acMinuteL = null
ActiveJIcon acMonoIcon = null
ActiveJButton acNext
ActiveJToggleButton acOnOff
ActiveJButton acPause
ActiveJButton acPlAdd
ActiveJPopup acPlAddPopup
ActiveJButton acPlay
ActiveJIcon acPlayIcon = null
ActiveJToggleButton acPlaylist
ActiveJButton acPlDown
ActiveJButton acPlList
ActiveJPopup acPlListPopup
ActiveJButton acPlMisc
ActiveJPopup acPlMiscPopup
ActiveJButton acPlRemove
ActiveJPopup acPlRemovePopup
ActiveJButton acPlSelect
ActiveJPopup acPlSelectPopup
ActiveJSlider acPlSlider = null
ActiveJButton acPlUp
ActiveJSlider acPosBar = null
ActiveJButton acPresets = null
ActiveJButton acPrevious
ActiveJToggleButton acRepeat
ActiveJLabel acSampleRateLabel = null
ActiveJNumberLabel acSecondH = null
ActiveJNumberLabel acSecondL = null
ActiveJToggleButton acShuffle
ActiveJSlider[] acSlider = { null, null, null, null, null, null, null, null, null, null, null }
ActiveJIcon acStereoIcon = null
ActiveJButton acStop
ActiveJIcon acTimeIcon = null
ActiveJBar acTitleBar = null
ActiveJLabel acTitleLabel = null
Image[] activeModeImage = { null, null }
int[] activeModePanel = { 0, 0, 28, 12, 29, 0, 27, 12 }
ActiveJSlider acVolume = null
SpectrumTimeAnalyzer analyzer = null
int[] balanceBarLocation = { 177, 57 }
Image[] balanceImage = { null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null }
String bitsRateClearText = " "
int[] bitsRateLocation = { 110, 43 }
ResourceBundle bundle = null
Config config = null
boolean dspEnabled = true
int[] exitLocation = { 264, 3 }
String fakeIndex = "abcdefghijklmnopqrstuvwxyz01"
int fontHeight = 6
String fontIndex = "ABCDEFGHIJKLMNOPQRSTUVWXYZ\"@a " + "0123456789 :()-'!_+ /[]^&%.=$#" + " ?*"
int fontWidth = 5
Image[] iconsImage = { null, null, null, null, null }
int[] iconsLocation = { 26, 28, 24, 28 }
int[] iconsPanel = { 0, 0, 9, 9, 9, 0, 9, 9, 18, 0, 9, 9, 36, 0, 3, 9, 27, 0, 2, 9 }
Image imBalance
Image imButtons
Image imEject
Image imEPSRButtons
Image imEqualizer = null
Image imFullEqualizer = null
Image imIcons
Image imMain = null
Image imMode
Image imNext
Image imNumbers
Image imPause
Image imPlay
Image imPlaylist = null
Image imPosBar
Image imPrevious
Image imSliders = null
Image imStop
Image imText
Image imTitleB
Image imTitleBar
Image imVolume
int[] minimizeLocation = { 244, 3 }
int[] minuteHLocation = { 48, 26 }
int[] minuteLLocation = { 60, 26 }
int[] monoLocation = { 212, 41 }
int numberHeight = 13
String numberIndex = "0123456789 "
int numberWidth = 9
int[] panelEPSRLocation = { 219, 58, 242, 58, 164, 89, 212, 89 }
int[] panelLocation = { 16, 88, 39, 88, 62, 88, 85, 88, 108, 88, 136, 89 }
int[] panelOALocation = { 15, 18, 39, 18 }
int[] panelPresetsLocation = { 217, 18 }
int[] panelSplineLocation = { 88, 17, 113, 19 }
Image[] passiveModeImage = { null, null }
int[] passiveModePanel = { 0, 12, 28, 12, 29, 12, 27, 12 }
String path = null
int[] plAddLocation = { 14, 86 }
int[] plAddPopupArea = { 14, 50, 22, 18 * 3 }
PlaylistUIDelegate playlist = null
String plEdit = null
int[] plListLocation = { 14 + 214, 86 }
int[] plListPopupArea = { 14 + 217, 50, 22, 18 * 3 }
int[] plMiscLocation = { 14 + 89, 86 }
int[] plMiscPopupArea = { 14 + 87, 50, 22, 18 * 3 }
int[] plRemoveLocation = { 14 + 30, 86 }
int[] plRemovePopupArea = { 14 + 29, 32, 22, 18 * 4 }
int[] plSelectLocation = { 14 + 60, 86 }
int[] plSelectPopupArea = { 14 + 58, 50, 22, 18 * 3 }
int[] plSliderLocation = { 255, 20 }
int[] posBarLocation = { 16, 72 }
Image[] pressedBalanceImage = { null }
int[] pressedBalancePanel0 = { 0, 422, 14, 11 }
int[] pressedBalancePanel1 = { 90, 376, 14, 11 }
Image[] pressedEPSRImage = { null, null, null, null }
int[] pressedEPSRPanel = { 0, 73, 23, 12, 23, 73, 23, 12, 28, 30, 47, 15, 0, 30, 28, 15 }
Image[] pressedExitIm = { null }
int[] pressedExitPanel = { 18, 9, 9, 9 }
Image[] pressedImage = { imPrevious, imPlay, imPause, imStop, imNext, imEject }
Image[] pressedMinimizeIm = { null }
int[] pressedMinimizePanel = { 9, 9, 9, 9 }
Image[] pressedOAImage = { null, null }
int[] pressedPanel = { 0, 18, 23, 18, 23, 18, 23, 18, 46, 18, 23, 18, 69, 18, 23, 18, 92, 18, 22, 18, 114, 16, 22, 16 }
Image[] pressedPosIm = { null }
int[] pressedPosPanel = { 278, 0, 28, 10 }
Image[] pressedPresetsImage = { null }
Image[] pressedSliderImage = { null }
Image[] pressedTitleIm = { imTitleB }
int[] pressedTitlePanel = { 27, 15, 264 - 20, 14 }
Image[] pressedVolumeImage = { null }
int[] pressedVolumePanel0 = { 0, 422, 14, 11 }
int[] pressedVolumePanel1 = { 90, 376, 14, 11 }
String readme = null
Image[] releasedBalanceImage = { null }
int[] releasedBalancePanel0 = { 15, 422, 14, 11 }
int[] releasedBalancePanel1 = { 75, 376, 14, 11 }
Image[] releasedEPSRImage = { null, null, null, null }
int[] releasedEPSRPanel = { 0, 61, 23, 12, 23, 61, 23, 12, 28, 0, 47, 15, 0, 0, 28, 15 }
Image[] releasedExitIm = { null }
int[] releasedExitPanel = { 18, 0, 9, 9 }
Image[] releasedImage = { imPrevious, imPlay, imPause, imStop, imNext, imEject }
Image[] releasedMinimizeIm = { null }
int[] releasedMinimizePanel = { 9, 0, 9, 9 }
Image[] releasedOAImage = { null, null }
int[] releasedPanel = { 0, 0, 23, 18, 23, 0, 23, 18, 46, 0, 23, 18, 69, 0, 23, 18, 92, 0, 22, 18, 114, 0, 22, 16 }
Image[] releasedPosIm = { null }
int[] releasedPosPanel = { 248, 0, 28, 10 }
Image[] releasedPresetsImage = { null }
Image[] releasedSliderImage = { null }
Image[] releasedTitleIm = { imTitleB }
int[] releasedTitlePanel = { 27, 0, 264 - 20, 14 }
Image[] releasedVolumeImage = { null }
int[] releasedVolumePanel0 = { 15, 422, 14, 11 }
int[] releasedVolumePanel1 = { 75, 376, 14, 11 }
String sampleRateClearText = " "
int[] sampleRateLocation = { 156, 43 }
int[] secondHLocation = { 78, 26 }
int[] secondLLocation = { 90, 26 }
String skinVersion = "1"
int[][] sliderBarLocation = { { 21, 38 }, { 78, 38 }, { 96, 38 }, { 114, 38 }, { 132, 38 }, { 150, 38 }, { 168, 38 }, { 186, 38 }, { 204, 38 }, { 222, 38 }, { 240, 38 } }
Image[] sliderImage = { null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null }
int[][] sliderLocation = { { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 } }
SplinePanel spline = null
Image splineBarImage = null
Image splineImage = null
int[] stereoLocation = { 239, 41 }
String theBalance = "balance.bmp"
String theButtons = "cbuttons.bmp"
String theEPSRButtons = "shufrep.bmp"
String theIcons = "playpaus.bmp"
String theMain = "main.bmp"
String theMode = "monoster.bmp"
String theNumbers = "numbers.bmp"
String theNumEx = "nums_ex.bmp"
String thePosBar = "posbar.bmp"
String theReadme = "readme.txt"
String theText = "text.bmp"
String theTitleBar = "titlebar.bmp"
String theViscolor = "viscolor.txt"
String theVolume = "volume.bmp"
int[] titleBarLocation = { 0, 0 }
int[] titleLocation = { 111, 27 }
String viscolor = null
int[] visualLocation = { 24, 44 }
int[] visualSize = { 76, 15 }
int[] volumeBarLocation = { 107, 57 }
Image[] volumeImage = { null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null }
int WinHeight
int WinWidth

Static Private Attributes

static Log log = LogFactory.getLog(Skin.class)

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index