本文整理汇总了Java中com.ardublock.ui.listener.OpenblocksFrameListener类的典型用法代码示例。如果您正苦于以下问题:Java OpenblocksFrameListener类的具体用法?Java OpenblocksFrameListener怎么用?Java OpenblocksFrameListener使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
OpenblocksFrameListener类属于com.ardublock.ui.listener包,在下文中一共展示了OpenblocksFrameListener类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: Context
import com.ardublock.ui.listener.OpenblocksFrameListener; //导入依赖的package包/类
Context(boolean isInArduino)
{
workspaceController = new WorkspaceController();
resetWorksapce();
workspace = workspaceController.getWorkspace();
workspaceChanged = false;
highlightBlockSet = new HashSet<RenderableBlock>();
ofls = new HashSet<OpenblocksFrameListener>();
this.workspace = workspaceController.getWorkspace();
this.isInArduino = isInArduino;
osType = determineOsType();
config = new Configuration(this);
uiMessageBundle = ResourceBundle.getBundle("com/ardublock/block/ardublock");
}
开发者ID:heqichen,项目名称:ardublock,代码行数:18,代码来源:Context.java
示例2: didSave
import com.ardublock.ui.listener.OpenblocksFrameListener; //导入依赖的package包/类
public void didSave()
{
for (OpenblocksFrameListener ofl : ofls)
{
ofl.didSave();
}
}
开发者ID:heqichen,项目名称:ardublock,代码行数:8,代码来源:Context.java
示例3: didLoad
import com.ardublock.ui.listener.OpenblocksFrameListener; //导入依赖的package包/类
public void didLoad()
{
for (OpenblocksFrameListener ofl : ofls)
{
ofl.didLoad();
}
}
开发者ID:heqichen,项目名称:ardublock,代码行数:8,代码来源:Context.java
示例4: didGenerate
import com.ardublock.ui.listener.OpenblocksFrameListener; //导入依赖的package包/类
public void didGenerate(String sourcecode)
{
for (OpenblocksFrameListener ofl : ofls)
{
ofl.didGenerate(sourcecode);
}
}
开发者ID:heqichen,项目名称:ardublock,代码行数:8,代码来源:Context.java
示例5: Context
import com.ardublock.ui.listener.OpenblocksFrameListener; //导入依赖的package包/类
private Context()
{
workspaceController = new WorkspaceController();
resetWorksapce();
workspace = workspaceController.getWorkspace();
workspaceChanged = false;
highlightBlockSet = new HashSet<RenderableBlock>();
ofls = new HashSet<OpenblocksFrameListener>();
this.workspace = workspaceController.getWorkspace();
isInArduino = false;
osType = determineOsType();
}
开发者ID:dwengovzw,项目名称:Ardublock-for-Dwenguino,代码行数:15,代码来源:Context.java
示例6: registerOpenblocksFrameListener
import com.ardublock.ui.listener.OpenblocksFrameListener; //导入依赖的package包/类
public void registerOpenblocksFrameListener(OpenblocksFrameListener ofl)
{
ofls.add(ofl);
}
开发者ID:heqichen,项目名称:ardublock,代码行数:5,代码来源:Context.java
示例7: addListener
import com.ardublock.ui.listener.OpenblocksFrameListener; //导入依赖的package包/类
public void addListener(OpenblocksFrameListener ofl)
{
context.registerOpenblocksFrameListener(ofl);
}
开发者ID:heqichen,项目名称:ardublock,代码行数:5,代码来源:OpenblocksFrame.java
注:本文中的com.ardublock.ui.listener.OpenblocksFrameListener类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论