mirror of
https://git.femboyfinancial.jp/james/lipsync.git
synced 2024-11-21 18:22:03 -08:00
51 lines
1.3 KiB
C#
51 lines
1.3 KiB
C#
/*
|
|
* BStatusLabel.cs
|
|
* Copyright (c) 2009 kbinani
|
|
*
|
|
* This file is part of bocoree.
|
|
*
|
|
* bocoree is free software; you can redistribute it and/or
|
|
* modify it under the terms of the BSD License.
|
|
*
|
|
* bocoree is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
*/
|
|
#if JAVA
|
|
//INCLUDE ..\BuildJavaUI\src\org\kbinani\windows\forms\BStatusLabel.java
|
|
#else
|
|
namespace bocoree.windows.forms {
|
|
|
|
public class BStatusLabel : System.Windows.Forms.ToolStripStatusLabel {
|
|
public void setText( string value ) {
|
|
base.Text = value;
|
|
}
|
|
|
|
public string getText() {
|
|
return base.Text;
|
|
}
|
|
|
|
public void setToolTipText( string value ) {
|
|
base.ToolTipText = value;
|
|
}
|
|
|
|
public string getToolTipText() {
|
|
return base.ToolTipText;
|
|
}
|
|
|
|
public bocoree.java.awt.Icon getIcon() {
|
|
return new bocoree.java.awt.ImageIcon( base.Image );
|
|
}
|
|
|
|
public void setIcon( bocoree.java.awt.Icon value ) {
|
|
if ( value == null ) {
|
|
base.Image = null;
|
|
} else {
|
|
base.Image = value.image;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
#endif
|